Ticket #757: room-handle.patch

File room-handle.patch, 1013 bytes (added by gdesmott, 15 years ago)

src/sugar/presence/activity.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

  • src/sugar/presence/activity.py

    diff --git a/src/sugar/presence/activity.py b/src/sugar/presence/activity.py
    index dc02aa1..000ad6d 100644
    a b class Activity(gobject.GObject): 
    6868    def __init__(self, bus, new_obj_cb, del_obj_cb, object_path):
    6969        """Initialse the activity interface, connecting to service"""
    7070        gobject.GObject.__init__(self)
    71         self._telepathy_room_handle = None
     71        self.telepathy_room_handle = None
    7272        self._object_path = object_path
    7373        self._ps_new_object = new_obj_cb
    7474        self._ps_del_object = del_obj_cb
    class Activity(gobject.GObject): 
    317317                            ready_handler=text_chan_ready,
    318318                            error_handler=error_handler)
    319319                    found_text_channel = True
     320                    self.telepathy_room_handle = handle_
    320321
    321322                elif chan_iface == telepathy.CHANNEL_TYPE_TUBES:
    322323                    telepathy.client.Channel(