Fix disabling Zeroconf account
This commit is contained in:
parent
fdfc9c90a1
commit
4394bb1174
|
@ -107,7 +107,6 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
|
||||||
else:
|
else:
|
||||||
self.username = app.config.get_per('accounts',
|
self.username = app.config.get_per('accounts',
|
||||||
app.ZEROCONF_ACC_NAME, 'name')
|
app.ZEROCONF_ACC_NAME, 'name')
|
||||||
# END __init__
|
|
||||||
|
|
||||||
def check_jid(self, jid):
|
def check_jid(self, jid):
|
||||||
return jid
|
return jid
|
||||||
|
@ -469,4 +468,5 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
|
||||||
error_msg=error_message, msg=None, time_=None,
|
error_msg=error_message, msg=None, time_=None,
|
||||||
session=session, zeroconf=True))
|
session=session, zeroconf=True))
|
||||||
|
|
||||||
# END ConnectionZeroconf
|
def cleanup(self):
|
||||||
|
pass
|
||||||
|
|
Loading…
Reference in New Issue