Handle multiple out of order reactions
This commit is contained in:
parent
37ad95af27
commit
42152be4af
2 changed files with 20 additions and 16 deletions
|
@ -2401,11 +2401,11 @@
|
|||
await conversation.notify(message);
|
||||
}
|
||||
|
||||
// Does this message have a pending, previously-received associated reaction?
|
||||
const reaction = Whisper.Reactions.forMessage(message);
|
||||
if (reaction) {
|
||||
// Does this message have any pending, previously-received associated reactions?
|
||||
const reactions = Whisper.Reactions.forMessage(message);
|
||||
reactions.forEach(reaction => {
|
||||
message.handleReaction(reaction);
|
||||
}
|
||||
});
|
||||
|
||||
Whisper.events.trigger('incrementProgress');
|
||||
confirm();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue