add lock domain and magic create domain to known hosts

This commit is contained in:
Daniel Gultsch 2016-05-10 10:53:44 +02:00
parent e542dd3923
commit c37b5af2ca

View file

@ -2969,6 +2969,12 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
} }
} }
} }
if(Config.DOMAIN_LOCK != null && !hosts.contains(Config.DOMAIN_LOCK)) {
hosts.add(Config.DOMAIN_LOCK);
}
if(Config.MAGIC_CREATE_DOMAIN != null && !hosts.contains(Config.MAGIC_CREATE_DOMAIN)) {
hosts.add(Config.MAGIC_CREATE_DOMAIN);
}
return hosts; return hosts;
} }