1
0
Fork 1

Do not notify on own reactions

(cherry picked from commit 35b7e28fabac9bf3f8c18dd0526bb6313ce210a1)
This commit is contained in:
Stephen Paul Weber 2024-10-16 14:58:04 -05:00 committed by Arne
parent 499a945c3a
commit 3bff0bf200

View file

@ -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);
}
}
}