Drop reaction messages
This commit is contained in:
parent
2da39cca67
commit
a83f5ce3e0
2 changed files with 18 additions and 1 deletions
|
@ -1837,6 +1837,13 @@
|
|||
`Starting handleDataMessage for message ${message.idForLogging()} in conversation ${conversation.idForLogging()}`
|
||||
);
|
||||
|
||||
// Drop reaction messages at this time
|
||||
if (initialMessage.reaction) {
|
||||
window.log.info('Dropping reaction message', this.idForLogging());
|
||||
confirm();
|
||||
return;
|
||||
}
|
||||
|
||||
// First, check for duplicates. If we find one, stop processing here.
|
||||
const existingMessage = await getMessageBySender(this.attributes, {
|
||||
Message: Whisper.Message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue