[oystein] fix dbus signature of gajim-remote list_contacts. fixes #3408
This commit is contained in:
parent
3f5387c02a
commit
07e52866d5
1 changed files with 2 additions and 2 deletions
|
@ -434,11 +434,11 @@ class SignalObject(dbus.service.Object):
|
|||
'accounts', con.name, 'resource')))
|
||||
return result
|
||||
|
||||
@dbus.service.method(INTERFACE, in_signature='s', out_signature='av')
|
||||
@dbus.service.method(INTERFACE, in_signature='s', out_signature='aa{sv}')
|
||||
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='a{sv}')
|
||||
result = dbus.Array([], signature='aa{sv}')
|
||||
accounts = gajim.contacts.get_accounts()
|
||||
if len(accounts) == 0:
|
||||
return result
|
||||
|
|
Loading…
Add table
Reference in a new issue