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

This commit is contained in:
BBreeziN 2018-05-15 23:39:44 -04:00
parent 3c22ab752a
commit f13ff8ac68
1 changed files with 1 additions and 1 deletions

View File

@ -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