summaryrefslogtreecommitdiff
path: root/sunshine/channel/contact_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'sunshine/channel/contact_list.py')
-rw-r--r--sunshine/channel/contact_list.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/sunshine/channel/contact_list.py b/sunshine/channel/contact_list.py
index 63bcaa4..e942a03 100644
--- a/sunshine/channel/contact_list.py
+++ b/sunshine/channel/contact_list.py
@@ -124,9 +124,9 @@ class SunshineListChannel(
telepathy.server.ChannelInterfaceGroup):
"Abstract Contact List channels"
- def __init__(self, connection, manager, props):
+ def __init__(self, connection, manager, props, object_path=None):
self._conn_ref = weakref.ref(connection)
- telepathy.server.ChannelTypeContactList.__init__(self, connection, manager, props)
+ telepathy.server.ChannelTypeContactList.__init__(self, connection, manager, props, object_path=None)
telepathy.server.ChannelInterfaceGroup.__init__(self)
self._populate(connection)
@@ -184,6 +184,9 @@ class SunshineListChannel(
if ad: added.add(handle)
if lp: local_pending.add(handle)
if rp: remote_pending.add(handle)
+ #self._conn_ref()._populate_capabilities()
+ #capabilities for self handle
+ self._conn_ref().contactAdded(self._conn_ref().GetSelfHandle())
self.MembersChanged('', added, (), local_pending, remote_pending, 0,
telepathy.CHANNEL_GROUP_CHANGE_REASON_NONE)