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