null check quicksy domain

This commit is contained in:
Daniel Gultsch 2020-06-13 08:10:04 +02:00
parent 971bb60f42
commit 56ea9647cd

View file

@ -1006,7 +1006,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
&& !contact.isOwnServer()
&& !contact.showInContactList()
&& !contact.isSelf()
&& !Config.QUICKSY_DOMAIN.equals(contact.getJid().toEscapedString())
&& !(Config.QUICKSY_DOMAIN != null && Config.QUICKSY_DOMAIN.equals(contact.getJid().toEscapedString()))
&& sentMessagesCount() == 0;
}