Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/presence
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-06-15 13:46:08 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-06-15 13:46:08 (GMT)
commit042a09cccd592509431008b811a83da556d3cfc0 (patch)
treead5321d0dfe9642d18ee8061850436ba7fa6acae /src/sugar/presence
parent4bb221349c24515303fa14f9a580f955825b17d4 (diff)
Expose telepathy_room_handle (cassidy) #757
Diffstat (limited to 'src/sugar/presence')
-rw-r--r--src/sugar/presence/activity.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sugar/presence/activity.py b/src/sugar/presence/activity.py
index dc02aa1..13abf5d 100644
--- a/src/sugar/presence/activity.py
+++ b/src/sugar/presence/activity.py
@@ -68,7 +68,7 @@ class Activity(gobject.GObject):
def __init__(self, bus, new_obj_cb, del_obj_cb, object_path):
"""Initialse the activity interface, connecting to service"""
gobject.GObject.__init__(self)
- self._telepathy_room_handle = None
+ self.telepathy_room_handle = None
self._object_path = object_path
self._ps_new_object = new_obj_cb
self._ps_del_object = del_obj_cb
@@ -307,7 +307,7 @@ class Activity(gobject.GObject):
found_text_channel = False
found_tubes_channel = False
- for chan_path, chan_iface, handle_type, handle_ in chans:
+ for chan_path, chan_iface, handle_type, handle in chans:
if handle_type != telepathy.HANDLE_TYPE_ROOM:
return
@@ -317,6 +317,7 @@ class Activity(gobject.GObject):
ready_handler=text_chan_ready,
error_handler=error_handler)
found_text_channel = True
+ self.telepathy_room_handle = handle
elif chan_iface == telepathy.CHANNEL_TYPE_TUBES:
telepathy.client.Channel(