Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-05-23 16:42:31 (GMT)
committer Simon McVittie <simon.mcvittie@collabora.co.uk>2007-05-24 17:52:26 (GMT)
commit3444acae8f28e0778b7c22f31985effb1d7b8bb4 (patch)
treedb8c186d996e421aeca89b917c413d6c9033424c
parentb16bb9d6cc1412df43d60e2b440ec1a481db66b8 (diff)
services/presence/server_plugin: Stop using private API of telepathy-python and dbus-python
-rw-r--r--services/presence/server_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/presence/server_plugin.py b/services/presence/server_plugin.py
index 20b6088..49280e3 100644
--- a/services/presence/server_plugin.py
+++ b/services/presence/server_plugin.py
@@ -315,7 +315,7 @@ class ServerPlugin(gobject.GObject):
chan_path = self._conn[CONN_INTERFACE].RequestChannel(
CHANNEL_TYPE_CONTACT_LIST, CONNECTION_HANDLE_TYPE_LIST,
handle, True)
- channel = Channel(self._conn._dbus_object._named_service, chan_path)
+ channel = Channel(self._conn.service_name, chan_path)
# hack
channel._valid_interfaces.add(CHANNEL_INTERFACE_GROUP)
return channel
@@ -449,7 +449,7 @@ class ServerPlugin(gobject.GObject):
self._join_activity_channel_props_set_cb(activity_id, signal, handle, channel, userdata)
def _join_activity_create_channel_cb(self, activity_id, signal, handle, userdata, chan_path):
- channel = Channel(self._conn._dbus_object._named_service, chan_path)
+ channel = Channel(self._conn.service_name, chan_path)
props = {
'anonymous': False, # otherwise buddy resolution breaks
'invite-only': False, # XXX: should be True in future