use new contacts function

This commit is contained in:
Yann Leboulanger 2006-02-02 18:42:29 +00:00
parent 9d3df7be79
commit 5276b923fe
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class SignalObject(DbusPrototype):
returns status which is the global one returns status which is the global one
unless account is given''' unless account is given'''
account = self._get_real_arguments(args, 1)[0] account = self._get_real_arguments(args, 1)[0]
accounts = gajim.contacts.keys() accounts = gajim.contacts.get_accounts()
if not account: if not account:
# If user did not ask for account, returns the global status # If user did not ask for account, returns the global status
return str(helpers.get_global_status()) return str(helpers.get_global_status())