Return account instead of jid

This commit is contained in:
Philipp Hörist 2018-05-10 13:28:26 +02:00
parent 093ba8dd97
commit ffe8ee8068
1 changed files with 1 additions and 1 deletions

View File

@ -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():
"""