diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-06-07 16:45:36 (GMT) |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-06-07 16:45:36 (GMT) |
commit | 22978c638d44ef5cf0fdbcaaf9ee93f004ea94dc (patch) | |
tree | 70dc7708ca41d679af1bb84f797517567a3d3a7f | |
parent | d8d17269195332d6c04c9e20457953a7b0974320 (diff) |
activity: upgrade check for correct activity ID to an assertion
-rw-r--r-- | src/activity.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/activity.py b/src/activity.py index c97ffd9..472cc8b 100644 --- a/src/activity.py +++ b/src/activity.py @@ -503,9 +503,7 @@ class Activity(ExportedGObject): def _joined_cb(self, tp, activity_id, room_handle, text_channel, exc): """XXX - not documented yet """ - if activity_id != self.props.id: - # Not for us - return + assert activity_id == self.props.id self._room = room_handle |