respond to message receipts request when processing carbon copy

This commit is contained in:
Daniel Gultsch 2018-01-23 22:00:33 +01:00
parent eee5d885ba
commit 44ce90ccf2

View file

@ -568,7 +568,6 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
&& replacedMessage.getStatus() == Message.STATUS_RECEIVED && replacedMessage.getStatus() == Message.STATUS_RECEIVED
&& (replacedMessage.trusted() || replacedMessage.getType() == Message.TYPE_PRIVATE) && (replacedMessage.trusted() || replacedMessage.getType() == Message.TYPE_PRIVATE)
&& remoteMsgId != null && remoteMsgId != null
&& (!isForwarded || query != null)
&& !isTypeGroupChat) { && !isTypeGroupChat) {
processMessageReceipts(account, packet, query); processMessageReceipts(account, packet, query);
} }
@ -646,7 +645,6 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
&& message.getStatus() == Message.STATUS_RECEIVED && message.getStatus() == Message.STATUS_RECEIVED
&& (message.trusted() || message.getType() == Message.TYPE_PRIVATE) && (message.trusted() || message.getType() == Message.TYPE_PRIVATE)
&& remoteMsgId != null && remoteMsgId != null
&& (!isForwarded || query != null)
&& !isTypeGroupChat) { && !isTypeGroupChat) {
processMessageReceipts(account, packet, query); processMessageReceipts(account, packet, query);
} }