Return account instead of jid
This commit is contained in:
parent
093ba8dd97
commit
ffe8ee8068
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ def get_jid_from_account(account_name):
|
||||||
def get_account_from_jid(jid):
|
def get_account_from_jid(jid):
|
||||||
for account in app.config.get_per('accounts'):
|
for account in app.config.get_per('accounts'):
|
||||||
if jid == get_jid_from_account(account):
|
if jid == get_jid_from_account(account):
|
||||||
return jid
|
return account
|
||||||
|
|
||||||
def get_our_jids():
|
def get_our_jids():
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue