fix: remove extra if statement when checking if a message is an interactionNotification

pull/2789/head
William Grant 2 years ago
parent ede5fd8558
commit 77bdceb409

@ -1381,7 +1381,6 @@ export class MessageModel extends Backbone.Model<MessageAttributes> {
}
}
if (this.get('interactionNotification')) {
const interactionNotification = this.get('interactionNotification');
if (interactionNotification) {
const { interactionType, interactionStatus } = interactionNotification;
@ -1412,7 +1411,6 @@ export class MessageModel extends Backbone.Model<MessageAttributes> {
}
}
}
}
if (this.get('reaction')) {
const reaction = this.get('reaction');

Loading…
Cancel
Save