mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-25 02:02:16 -05:00
fixed null pointer in message merger
This commit is contained in:
parent
377bd49ee8
commit
ad6fef063b
@ -307,6 +307,7 @@ public class Message extends AbstractEntity {
|
|||||||
&& message.getEncryption() != Message.ENCRYPTION_PGP
|
&& message.getEncryption() != Message.ENCRYPTION_PGP
|
||||||
&& this.getType() == message.getType()
|
&& this.getType() == message.getType()
|
||||||
&& this.getEncryption() == message.getEncryption()
|
&& this.getEncryption() == message.getEncryption()
|
||||||
|
&& this.getCounterpart() != null
|
||||||
&& this.getCounterpart().equals(message.getCounterpart())
|
&& this.getCounterpart().equals(message.getCounterpart())
|
||||||
&& (message.getTimeSent() - this.getTimeSent()) <= (Config.MESSAGE_MERGE_WINDOW * 1000) && ((this
|
&& (message.getTimeSent() - this.getTimeSent()) <= (Config.MESSAGE_MERGE_WINDOW * 1000) && ((this
|
||||||
.getStatus() == message.getStatus() || ((this.getStatus() == Message.STATUS_SEND || this
|
.getStatus() == message.getStatus() || ((this.getStatus() == Message.STATUS_SEND || this
|
||||||
|
Loading…
Reference in New Issue
Block a user