@@ -41,6 +41,7 @@ public final class Config {
public static final String DOMAIN_LOCK = null; //only allow account creation for this domain
public static final String MAGIC_CREATE_DOMAIN = "conversations.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;
@@ -3544,12 +3544,15 @@ public class XmppConnectionService extends Service {
for (final Contact contact : account.getRoster().getContacts()) {
if (contact.showInRoster()) {
final String server = contact.getServer();
- if (server != null && !hosts.contains(server)) {
+ if (server != null) {
hosts.add(server);
}
}
}
}
+ if (Config.QUICKSY_DOMAIN != null) {
+ hosts.remove(Config.QUICKSY_DOMAIN); //we only want to show this when we type a e164 number
+ }
if (Config.DOMAIN_LOCK != null) {
hosts.add(Config.DOMAIN_LOCK);
}