Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-07 15:58:09 (GMT)
committer Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-20 13:02:28 (GMT)
commit02be50cccf4bc0916797689f8dbc26ec96bd9924 (patch)
treece21d0473a7523a880940c6f77f312e929f21f94
parentfbd859924a8777798b091c94b578ba03ef6f83eb (diff)
Don't try to update an activity's properties if we got none.
-rw-r--r--src/jarabe/model/neighborhood.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jarabe/model/neighborhood.py b/src/jarabe/model/neighborhood.py
index a50e0e4..c355e25 100644
--- a/src/jarabe/model/neighborhood.py
+++ b/src/jarabe/model/neighborhood.py
@@ -383,7 +383,8 @@ class _Account(gobject.GObject):
def __get_properties_cb(self, room_handle, properties):
logging.debug('_Account.__get_properties_cb %r %r', room_handle, properties)
- self._update_activity(room_handle, properties)
+ if properties:
+ self._update_activity(room_handle, properties)
def _remove_buddy_from_activity(self, buddy_handle, activity_id):
if buddy_handle in self._buddies_per_activity[activity_id]: