mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 01:32:17 -05:00
respond to xep-0184 requests in muc pms
This commit is contained in:
parent
c7e95d105c
commit
6e62b62b80
@ -501,7 +501,11 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
|
||||
}
|
||||
mXmppConnectionService.updateMessage(replacedMessage, uuid);
|
||||
mXmppConnectionService.getNotificationService().updateNotification(false);
|
||||
if (mXmppConnectionService.confirmMessages() && remoteMsgId != null && !isForwarded && !isTypeGroupChat) {
|
||||
if (mXmppConnectionService.confirmMessages()
|
||||
&& (replacedMessage.trusted() || replacedMessage.getType() == Message.TYPE_PRIVATE)
|
||||
&& remoteMsgId != null
|
||||
&& !isForwarded
|
||||
&& !isTypeGroupChat) {
|
||||
sendMessageReceipts(account, packet);
|
||||
}
|
||||
if (replacedMessage.getEncryption() == Message.ENCRYPTION_PGP) {
|
||||
@ -560,7 +564,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
|
||||
}
|
||||
|
||||
if (mXmppConnectionService.confirmMessages()
|
||||
&& message.trusted()
|
||||
&& (message.trusted() || message.getType() == Message.TYPE_PRIVATE)
|
||||
&& remoteMsgId != null
|
||||
&& !isForwarded
|
||||
&& !isTypeGroupChat) {
|
||||
|
Loading…
Reference in New Issue
Block a user