mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-10 11:15:03 -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.updateMessage(replacedMessage, uuid);
|
||||||
mXmppConnectionService.getNotificationService().updateNotification(false);
|
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);
|
sendMessageReceipts(account, packet);
|
||||||
}
|
}
|
||||||
if (replacedMessage.getEncryption() == Message.ENCRYPTION_PGP) {
|
if (replacedMessage.getEncryption() == Message.ENCRYPTION_PGP) {
|
||||||
@ -560,7 +564,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mXmppConnectionService.confirmMessages()
|
if (mXmppConnectionService.confirmMessages()
|
||||||
&& message.trusted()
|
&& (message.trusted() || message.getType() == Message.TYPE_PRIVATE)
|
||||||
&& remoteMsgId != null
|
&& remoteMsgId != null
|
||||||
&& !isForwarded
|
&& !isForwarded
|
||||||
&& !isTypeGroupChat) {
|
&& !isTypeGroupChat) {
|
||||||
|
Loading…
Reference in New Issue
Block a user