Fix self-mention in groups

This commit is contained in:
Fedor Indutny 2024-12-20 10:33:01 -08:00 committed by GitHub
parent 6f1d767c72
commit 4312d03db0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 44 additions and 19 deletions

View file

@ -198,6 +198,7 @@ export type Props = Pick<
| 'getPreferredBadge'
| 'onEditorStateChange'
| 'onTextTooLong'
| 'ourConversationId'
| 'quotedMessageId'
| 'sendCounter'
| 'sortedGroupMembers'
@ -280,6 +281,7 @@ export const CompositionArea = memo(function CompositionArea({
isFormattingEnabled,
onEditorStateChange,
onTextTooLong,
ourConversationId,
sendCounter,
sortedGroupMembers,
// EmojiButton
@ -947,6 +949,7 @@ export const CompositionArea = memo(function CompositionArea({
}}
onPickEmoji={onPickEmoji}
onTextTooLong={onTextTooLong}
ourConversationId={ourConversationId}
platform={platform}
recentStickers={recentStickers}
skinTone={skinTone}
@ -1042,6 +1045,7 @@ export const CompositionArea = memo(function CompositionArea({
onPickEmoji={onPickEmoji}
onSubmit={handleSubmit}
onTextTooLong={onTextTooLong}
ourConversationId={ourConversationId}
platform={platform}
quotedMessageId={quotedMessageId}
sendCounter={sendCounter}