Send stories to groups capability
This commit is contained in:
parent
62962e4950
commit
2f5dd73e58
5 changed files with 308 additions and 163 deletions
|
@ -36,6 +36,7 @@ export type PropsType = {
|
|||
onClose: () => unknown;
|
||||
onSend: (
|
||||
listIds: Array<UUIDStringType>,
|
||||
conversationIds: Array<string>,
|
||||
attachment: AttachmentType
|
||||
) => unknown;
|
||||
processAttachment: (
|
||||
|
@ -104,7 +105,7 @@ export const StoryCreator = ({
|
|||
me={me}
|
||||
onClose={() => setDraftAttachment(undefined)}
|
||||
onSend={listIds => {
|
||||
onSend(listIds, draftAttachment);
|
||||
onSend(listIds, [], draftAttachment);
|
||||
setDraftAttachment(undefined);
|
||||
onClose();
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue