Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/presenceservice.py
diff options
context:
space:
mode:
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