Reactions: Fix reactions being differentiated by resource on first displaying
fixes #1297
This commit is contained in:
parent
cdd22e404e
commit
d1fb22ebed
|
@ -393,6 +393,8 @@ public class Dino.Reactions : StreamInteractionModule, Object {
|
||||||
if (stanza.type_ == MessageStanza.TYPE_GROUPCHAT &&
|
if (stanza.type_ == MessageStanza.TYPE_GROUPCHAT &&
|
||||||
signal_jid.equals(stream_interactor.get_module(MucManager.IDENTITY).get_own_jid(from_jid, account))) {
|
signal_jid.equals(stream_interactor.get_module(MucManager.IDENTITY).get_own_jid(from_jid, account))) {
|
||||||
signal_jid = account.bare_jid;
|
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) {
|
foreach (string current_reaction in current_reactions) {
|
||||||
|
|
Loading…
Reference in a new issue