mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Don't show reactions from call participants who have recently left
This commit is contained in:
@@ -1288,6 +1288,10 @@ function useReactionsToast(props: UseReactionsToastType): void {
|
||||
let anyReactionWasShown = false;
|
||||
reactions.forEach(({ timestamp, demuxId, value }) => {
|
||||
const conversation = conversationsByDemuxId.get(demuxId);
|
||||
if (!conversation) {
|
||||
return;
|
||||
}
|
||||
|
||||
const key = `reactions-${timestamp}-${demuxId}`;
|
||||
|
||||
strictAssert(isEmojiVariantValue(value), 'Expected a valid emoji value');
|
||||
|
||||
Reference in New Issue
Block a user