fix signatures in remote control. fixes #2865

This commit is contained in:
Yann Leboulanger 2007-01-21 18:13:23 +00:00
parent 34da018faf
commit 5f797834ae
1 changed files with 2 additions and 2 deletions

View File

@ -394,11 +394,11 @@ class SignalObject(dbus.service.Object):
'accounts', con.name, 'resource')))
return result
@dbus.service.method(INTERFACE, in_signature='s', out_signature='a{ss}')
@dbus.service.method(INTERFACE, in_signature='s', out_signature='av')
def list_contacts(self, account):
'''list all contacts in the roster. If the first argument is specified,
then return the contacts for the specified account'''
result = dbus.Array([], signature='s')
result = dbus.Array([], signature='a{sv}')
accounts = gajim.contacts.get_accounts()
if len(accounts) == 0:
return result