diff --git a/src/plugins/sib-reactions.js b/src/plugins/sib-reactions.js index 230295f43c02f4eec4feb73c3fa6d26604f1b7d4..e17f1e6fc25d63514eda811a055ce6ff5a424770 100644 --- a/src/plugins/sib-reactions.js +++ b/src/plugins/sib-reactions.js @@ -6,6 +6,12 @@ import { Picker } from 'https://cdn.skypack.dev/emoji-picker-element'; */ converse.plugins.add('sib-reactions', { overrides: { + ChatRoom: { + async onMessage(attrs) { + await this.onMessageWithReaction.apply(this, arguments); + return await this.__super__.onMessage.apply(this, arguments); + }, + }, ChatBox: { async onMessage(attrs) { await this.onMessageWithReaction.apply(this, arguments);