use new contacts function
This commit is contained in:
parent
9d3df7be79
commit
5276b923fe
|
@ -143,7 +143,7 @@ class SignalObject(DbusPrototype):
|
|||
returns status which is the global one
|
||||
unless account is given'''
|
||||
account = self._get_real_arguments(args, 1)[0]
|
||||
accounts = gajim.contacts.keys()
|
||||
accounts = gajim.contacts.get_accounts()
|
||||
if not account:
|
||||
# If user did not ask for account, returns the global status
|
||||
return str(helpers.get_global_status())
|
||||
|
|
Loading…
Reference in New Issue