Do not notify on own reactions
(cherry picked from commit 35b7e28fabac9bf3f8c18dd0526bb6313ce210a1)
This commit is contained in:
parent
499a945c3a
commit
3bff0bf200
1 changed files with 2 additions and 2 deletions
|
@ -1449,7 +1449,7 @@ public class MessageParser extends AbstractParser implements Consumer<im.convers
|
|||
message.getRemoteMsgId());
|
||||
message.setReactions(combinedReactions);
|
||||
mXmppConnectionService.updateMessage(message, false);
|
||||
if (!isCarbon) mXmppConnectionService.getNotificationService().push(message, counterpart, occupantId, newReactions);
|
||||
if (!isCarbon && !packet.fromAccount(account)) mXmppConnectionService.getNotificationService().push(message, counterpart, occupantId, newReactions);
|
||||
} else {
|
||||
Log.d(Config.LOGTAG,"not found occupant or message");
|
||||
}
|
||||
|
@ -1477,7 +1477,7 @@ public class MessageParser extends AbstractParser implements Consumer<im.convers
|
|||
message.getRemoteMsgId());
|
||||
message.setReactions(combinedReactions);
|
||||
mXmppConnectionService.updateMessage(message, false);
|
||||
if (!isCarbon) mXmppConnectionService.getNotificationService().push(message, counterpart, null, newReactions);
|
||||
if (!isCarbon && !packet.fromAccount(account)) mXmppConnectionService.getNotificationService().push(message, counterpart, null, newReactions);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue