diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-06-07 16:04:02 (GMT) |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-06-07 16:04:02 (GMT) |
commit | f866aaa99859770d25e44bb07ae3e943e13d6093 (patch) | |
tree | 931c35373a34841aba0f172e2951e05060041d1b | |
parent | fd199a6602a81bca2aad5358642fb98e44a01690 (diff) |
activity: Save room handle when successfully or unsuccessfully shared or joined
-rw-r--r-- | src/activity.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/activity.py b/src/activity.py index 8e8d6ce..a32de9a 100644 --- a/src/activity.py +++ b/src/activity.py @@ -507,6 +507,8 @@ class Activity(ExportedGObject): (sigid, owner, async_cb, async_err_cb) = userdata self._tp.disconnect(sigid) + self._room = room_handle + if exc: _logger.debug("Share of activity %s failed: %s" % (self._id, exc)) async_err_cb(exc) @@ -544,6 +546,8 @@ class Activity(ExportedGObject): (sigid, async_cb, async_err_cb) = userdata self._tp.disconnect(sigid) + self._room = room_handle + if exc: async_err_cb(exc) else: |