mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 15:45:39 +01:00
Fix self-mention in groups
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
@@ -139,6 +139,7 @@ export type Props = Readonly<{
|
||||
timestamp: number
|
||||
): unknown;
|
||||
onScroll?: (ev: React.UIEvent<HTMLElement>) => void;
|
||||
ourConversationId: string | undefined;
|
||||
platform: string;
|
||||
quotedMessageId: string | null;
|
||||
shouldHidePopovers: boolean | null;
|
||||
@@ -173,6 +174,7 @@ export function CompositionInput(props: Props): React.ReactElement {
|
||||
onPickEmoji,
|
||||
onScroll,
|
||||
onSubmit,
|
||||
ourConversationId,
|
||||
placeholder,
|
||||
platform,
|
||||
quotedMessageId,
|
||||
@@ -781,11 +783,9 @@ export function CompositionInput(props: Props): React.ReactElement {
|
||||
},
|
||||
mentionCompletion: {
|
||||
getPreferredBadge,
|
||||
me: sortedGroupMembers
|
||||
? sortedGroupMembers.find(foo => foo.isMe)
|
||||
: undefined,
|
||||
memberRepositoryRef,
|
||||
setMentionPickerElement: setMentionCompletionElement,
|
||||
ourConversationId,
|
||||
i18n,
|
||||
theme,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user