mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-25 00:14:40 +00:00
parent
d4c674284e
commit
2ab7374aa5
1 changed files with 4 additions and 4 deletions
|
@ -364,7 +364,7 @@ public class Dino.Reactions : StreamInteractionModule, Object {
|
|||
ReactionsTime reactions_time = null;
|
||||
if (stanza.type_ == MessageStanza.TYPE_GROUPCHAT) {
|
||||
reactions_time = get_muc_user_reactions(account, content_item_id, occupant_id, real_jid);
|
||||
} else if (stanza.type_ == MessageStanza.TYPE_CHAT) {
|
||||
} else {
|
||||
reactions_time = get_chat_user_reactions(account, content_item_id, from_jid);
|
||||
}
|
||||
|
||||
|
@ -374,10 +374,10 @@ public class Dino.Reactions : StreamInteractionModule, Object {
|
|||
}
|
||||
|
||||
// Save reactions
|
||||
if (stanza.type_ == MessageStanza.TYPE_CHAT) {
|
||||
save_chat_reactions(account, from_jid, content_item_id, reaction_time_long, reactions);
|
||||
} else if (stanza.type_ == MessageStanza.TYPE_GROUPCHAT) {
|
||||
if (stanza.type_ == MessageStanza.TYPE_GROUPCHAT) {
|
||||
save_muc_reactions(account, content_item_id, from_jid, occupant_id, real_jid, reaction_time_long, reactions);
|
||||
} else {
|
||||
save_chat_reactions(account, from_jid, content_item_id, reaction_time_long, reactions);
|
||||
}
|
||||
|
||||
// Notify about reaction changes
|
||||
|
|
Loading…
Reference in a new issue