Fix call to config.get_per() in method that gets account name from jid
This commit is contained in:
parent
3c22ab752a
commit
f13ff8ac68
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ def get_jid_from_account(account_name):
|
||||||
return jid
|
return jid
|
||||||
|
|
||||||
def get_account_from_jid(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):
|
if jid == get_jid_from_account(account):
|
||||||
return account
|
return account
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue