Fix call to config.get_per() in method that gets account name from jid
This commit is contained in:
parent
3c22ab752a
commit
f13ff8ac68
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue