add lock domain and magic create domain to known hosts
This commit is contained in:
parent
e542dd3923
commit
c37b5af2ca
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue