diff options
author | fiaxh <git@lightrise.org> | 2022-10-28 16:52:16 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2022-11-20 22:18:22 +0100 |
commit | d1fb22ebedca7dbbbd0f693baa3c38d99ab5c344 (patch) | |
tree | 53e4208f52e4dc06ef2ddfc45c216dd03599e61a /libdino | |
parent | cdd22e404eca3db640b6f2f2789314f7cbb65de6 (diff) | |
download | dino-d1fb22ebedca7dbbbd0f693baa3c38d99ab5c344.tar.gz dino-d1fb22ebedca7dbbbd0f693baa3c38d99ab5c344.zip |
Reactions: Fix reactions being differentiated by resource on first displaying
fixes #1297
Diffstat (limited to 'libdino')
-rw-r--r-- | libdino/src/service/reactions.vala | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |