core (xmpp): fixed "Force server" param on Android
This commit is contained in:
parent
b0a63edd9c
commit
a7816961dd
1 changed files with 2 additions and 1 deletions
|
|
@ -471,7 +471,8 @@ class SatXMPPClient(SatXMPPEntity, wokkel_client.XMPPClient):
|
|||
# FIXME: temporary hack as SRV is not working on android
|
||||
# TODO: remove this hack and fix SRV
|
||||
log.info(u"FIXME: Android hack, ignoring SRV")
|
||||
host = user_jid.host
|
||||
if host is None:
|
||||
host = user_jid.host
|
||||
# for now we consider Android devices to be always phones
|
||||
self.identities = [disco.DiscoIdentity(u"client", u"phone", C.APP_NAME)]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue