Add copy option to triple-dot menu of messages

This commit is contained in:
Yusuf Sahin HAMZA 2023-04-22 04:52:25 +03:00 committed by Josh Perez
parent f1624705a7
commit f004e714f0
9 changed files with 61 additions and 0 deletions

View file

@ -245,6 +245,7 @@ const createProps = (overrideProps: Partial<Props> = {}): Props => ({
attachments: overrideProps.attachments,
author: overrideProps.author || getDefaultConversation(),
bodyRanges: overrideProps.bodyRanges,
canCopy: true,
canEditMessage: true,
canReact: true,
canReply: true,
@ -324,6 +325,7 @@ const createProps = (overrideProps: Partial<Props> = {}): Props => ({
saveAttachment: action('saveAttachment'),
setQuoteByMessageId: action('setQuoteByMessageId'),
retryMessageSend: action('retryMessageSend'),
copyMessageText: action('copyMessageText'),
retryDeleteForEveryone: action('retryDeleteForEveryone'),
scrollToQuotedMessage: action('scrollToQuotedMessage'),
targetMessage: action('targetMessage'),