Commit f13ff8ac authored by BBreeziN's avatar BBreeziN

Fix call to config.get_per() in method that gets account name from jid

parent 3c22ab75
Pipeline #1459 passed with stages
in 1 minute and 55 seconds
......@@ -484,7 +484,7 @@ def get_jid_from_account(account_name):
return jid
def get_account_from_jid(jid):
for account in app.config.get_per('accounts'):
for account in config.get_per('accounts'):
if jid == get_jid_from_account(account):
return account
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