Skip to content

Commit

Permalink
Merge pull request #551 from GetStream/fix/mute-flag-livestream
Browse files Browse the repository at this point in the history
pass notify function to messageactions in messagelivestream
  • Loading branch information
jaapbakker88 committed Sep 29, 2020
2 parents 1379632 + 34ac153 commit 5c08317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Message/MessageLivestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ const MessageLivestreamComponent = (props) => {
tDateTimeParser={propTDateTimeParser}
channelConfig={channelConfig}
threadList={props.threadList}
addNotification={props.addNotification}
handleOpenThread={propHandleOpenThread || handleOpenThread}
setEditingState={setEdit}
/>
Expand Down
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,7 @@ export const MessageCommerce: React.FC<MessageCommerceProps>;

export interface MessageLivestreamProps extends MessageUIComponentProps {}
export interface MessageLivestreamActionProps {
addNotification?(notificationText: string, type: string): any;
initialMessage?: boolean;
message?: Client.MessageResponse;
tDateTimeParser?(datetime: string | number): Dayjs.Dayjs;
Expand Down

0 comments on commit 5c08317

Please sign in to comment.