diff --git a/src/remote_control.py b/src/remote_control.py index 259493536..923217e63 100644 --- a/src/remote_control.py +++ b/src/remote_control.py @@ -615,7 +615,10 @@ class SignalObject(dbus.service.Object): for contact in contacts: resource_props = dbus.Struct((DBUS_STRING(contact.resource), dbus.Int32(contact.priority), DBUS_STRING(contact.status))) - contact_dict['resources'].append(resource_props) + contact_dict['resources'].append(resource_props) + contact_dict['groups'] = dbus.Array([], signature='s') + for group in prim_contact.groups: + contact_dict['groups'].append(DBUS_STRING(group)) return contact_dict @dbus.service.method(INTERFACE, in_signature='', out_signature='s')