Skip to content

Commit 5c08317

Browse files
author
jaapbakker88
authored
Merge pull request #551 from GetStream/fix/mute-flag-livestream
pass notify function to messageactions in messagelivestream
2 parents 1379632 + 34ac153 commit 5c08317

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/Message/MessageLivestream.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ const MessageLivestreamComponent = (props) => {
187187
tDateTimeParser={propTDateTimeParser}
188188
channelConfig={channelConfig}
189189
threadList={props.threadList}
190+
addNotification={props.addNotification}
190191
handleOpenThread={propHandleOpenThread || handleOpenThread}
191192
setEditingState={setEdit}
192193
/>

types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,6 +1240,7 @@ export const MessageCommerce: React.FC<MessageCommerceProps>;
12401240

12411241
export interface MessageLivestreamProps extends MessageUIComponentProps {}
12421242
export interface MessageLivestreamActionProps {
1243+
addNotification?(notificationText: string, type: string): any;
12431244
initialMessage?: boolean;
12441245
message?: Client.MessageResponse;
12451246
tDateTimeParser?(datetime: string | number): Dayjs.Dayjs;

0 commit comments

Comments
 (0)