forked from mirror/monocles_chat_clean
Never notify of own reactions
(cherry picked from commit 24822e9a5820bb2ed498d3ecaebc51593507874e)
This commit is contained in:
parent
e6a5bf1f95
commit
4d0746a594
1 changed files with 2 additions and 2 deletions
|
@ -1459,7 +1459,7 @@ public class MessageParser extends AbstractParser implements Consumer<im.convers
|
|||
message.getRemoteMsgId());
|
||||
message.setReactions(combinedReactions);
|
||||
mXmppConnectionService.updateMessage(message, false);
|
||||
if (!isCarbon && !packet.fromAccount(account)) mXmppConnectionService.getNotificationService().push(message, counterpart, occupantId, newReactions);
|
||||
if (status < Message.STATUS_SEND) mXmppConnectionService.getNotificationService().push(message, counterpart, occupantId, newReactions);
|
||||
} else {
|
||||
Log.d(Config.LOGTAG, "message with id " + reactingTo + " not found");
|
||||
}
|
||||
|
@ -1501,7 +1501,7 @@ public class MessageParser extends AbstractParser implements Consumer<im.convers
|
|||
message.getRemoteMsgId());
|
||||
message.setReactions(combinedReactions);
|
||||
mXmppConnectionService.updateMessage(message, false);
|
||||
if (!isCarbon && !packet.fromAccount(account)) mXmppConnectionService.getNotificationService().push(message, counterpart, null, newReactions);
|
||||
if (status < Message.STATUS_SEND) mXmppConnectionService.getNotificationService().push(message, counterpart, null, newReactions);
|
||||
} else {
|
||||
Log.d(Config.LOGTAG, "message with id " + reactingTo + " not found");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue