mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-06 17:25:01 -05:00
require encrypted to be the same for messages to get merged
This commit is contained in:
parent
8f8d4e320d
commit
1cc16161ef
@ -315,8 +315,10 @@ public class Message extends AbstractEntity {
|
|||||||
if (message == null) {
|
if (message == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return (this.getType() == Message.TYPE_TEXT
|
return (message.getType() == Message.TYPE_TEXT
|
||||||
|
&& message.getEncryption() != Message.ENCRYPTION_PGP
|
||||||
&& this.getType() == message.getType()
|
&& this.getType() == message.getType()
|
||||||
|
&& this.getEncryption() == message.getEncryption()
|
||||||
&& this.getCounterpart().equals(message.getCounterpart())
|
&& this.getCounterpart().equals(message.getCounterpart())
|
||||||
&& (message.getTimeSent() - this.getTimeSent()) <= 20000 && ((this
|
&& (message.getTimeSent() - this.getTimeSent()) <= 20000 && ((this
|
||||||
.getStatus() == message.getStatus()) || (this.getStatus() == Message.STATUS_SEND && message
|
.getStatus() == message.getStatus()) || (this.getStatus() == Message.STATUS_SEND && message
|
||||||
|
Loading…
Reference in New Issue
Block a user