allow to merge private messages
This commit is contained in:
parent
c09551b4c0
commit
9ebb719d71
|
@ -702,7 +702,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
|
||||||
|
|
||||||
public boolean mergeable(final Message message) {
|
public boolean mergeable(final Message message) {
|
||||||
return message != null &&
|
return message != null &&
|
||||||
(message.getType() == Message.TYPE_TEXT &&
|
((message.getType() == Message.TYPE_TEXT || message.getType() == Message.TYPE_PRIVATE) &&
|
||||||
this.getTransferable() == null &&
|
this.getTransferable() == null &&
|
||||||
message.getTransferable() == null &&
|
message.getTransferable() == null &&
|
||||||
message.getEncryption() != Message.ENCRYPTION_PGP &&
|
message.getEncryption() != Message.ENCRYPTION_PGP &&
|
||||||
|
|
Loading…
Reference in a new issue