quicksy server is not a stranger

This commit is contained in:
Christian Schneppe 2018-11-23 12:53:15 +01:00
parent 0028bd6e8e
commit 0290fa1b01
2 changed files with 3 additions and 1 deletions

View file

@ -18,7 +18,6 @@ public final class Config {
private static final int OMEMO = 8;
private static final int ENCRYPTION_MASK = UNENCRYPTED | OPENPGP | OTR | OMEMO;
public static boolean supportUnencrypted() {
return (ENCRYPTION_MASK & UNENCRYPTED) != 0;
}
@ -39,6 +38,7 @@ public final class Config {
return (ENCRYPTION_MASK & (ENCRYPTION_MASK - 1)) != 0;
}
public static final String LOGTAG = "Pix-Art_Messenger";
public static final Jid BUG_REPORTS = Jid.of("bugs@pix-art.de");
@ -52,6 +52,7 @@ public final class Config {
public static final Integer[] XMPP_Ports = null; //BuildConfig.XMPP_Ports; // set to null means disable
public static final String DOMAIN_LOCK = null; //BuildConfig.DOMAIN_LOCK; //only allow account creation for this domain
public static final String MAGIC_CREATE_DOMAIN = "blabber.im";
public static final String QUICKSY_DOMAIN = "quicksy.im";
public static final boolean DISALLOW_REGISTRATION_IN_UI = false; //hide the register checkbox
public static final boolean USE_RANDOM_RESOURCE_ON_EVERY_BIND = false;

View file

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