From d1fb22ebedca7dbbbd0f693baa3c38d99ab5c344 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 28 Oct 2022 16:52:16 +0200 Subject: [PATCH] Reactions: Fix reactions being differentiated by resource on first displaying fixes #1297 --- libdino/src/service/reactions.vala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libdino/src/service/reactions.vala b/libdino/src/service/reactions.vala index 0006f4de..7323e1f5 100644 --- a/libdino/src/service/reactions.vala +++ b/libdino/src/service/reactions.vala @@ -393,6 +393,8 @@ public class Dino.Reactions : StreamInteractionModule, Object { if (stanza.type_ == MessageStanza.TYPE_GROUPCHAT && signal_jid.equals(stream_interactor.get_module(MucManager.IDENTITY).get_own_jid(from_jid, account))) { signal_jid = account.bare_jid; + } else if (stanza.type_ == MessageStanza.TYPE_CHAT) { + signal_jid = signal_jid.bare_jid; } foreach (string current_reaction in current_reactions) {