Return account instead of jid
This commit is contained in:
parent
093ba8dd97
commit
ffe8ee8068
|
@ -486,7 +486,7 @@ def get_jid_from_account(account_name):
|
|||
def get_account_from_jid(jid):
|
||||
for account in app.config.get_per('accounts'):
|
||||
if jid == get_jid_from_account(account):
|
||||
return jid
|
||||
return account
|
||||
|
||||
def get_our_jids():
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue