Commit ffe8ee80 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Return account instead of jid

parent 093ba8dd
......@@ -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():
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment