Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/presenceservice.py
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-06-11 21:45:40 (GMT)
committer Simon McVittie <simon.mcvittie@collabora.co.uk>2007-06-11 21:45:40 (GMT)
commit5994591421d39d7cd70aa9709afd8d01ad854eb3 (patch)
tree1854ae06488405eac2659b3032ff852f920a6d1f /src/presenceservice.py
parent270a5260f81313382f03b30f7706076aa378bb43 (diff)
activity, presenceservice: add more debug when joining rooms
Diffstat (limited to 'src/presenceservice.py')
-rw-r--r--src/presenceservice.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/presenceservice.py b/src/presenceservice.py
index bf24b5e..69c6a2f 100644
--- a/src/presenceservice.py
+++ b/src/presenceservice.py
@@ -365,18 +365,23 @@ class PresenceService(ExportedGObject):
for act in activities_joined:
room_handle = activities[act]
- _logger.debug("Handle %s joined activity %s", contact_handle, act)
+ _logger.debug("Handle %s claims to have joined activity %s",
+ contact_handle, act)
activity = self._activities_by_id.get(act)
if activity is None:
# new activity, can fail
+ _logger.debug('No activity object for %s, creating one', act)
activity = self._new_activity(act, tp, room_handle)
- if activity is not None:
+ if activity is None:
+ _logger.debug('Failed to create activity object for %s', act)
+ else:
activity.buddy_apparently_joined(buddy)
activities_left = old_activities - new_activities
for act in activities_left:
- _logger.debug("Handle %s left activity %s", contact_handle, act)
+ _logger.debug("Handle %s claims to have left activity %s",
+ contact_handle, act)
activity = self._activities_by_id.get(act)
if activity is None:
# don't bother creating an Activity just so someone can leave