Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2011-05-23 08:33:50 (GMT)
committer Simon Schampijer <simon@schampijer.de>2011-05-23 08:33:50 (GMT)
commit5b09eb1d747743cdca1331bbc0f4c37bb49c1564 (patch)
tree5aa227b4ad8ad3d40bcddc5516c9a1c626677595
parent3553fbd2f0c7c747d0b37a4bede2360f6282f740 (diff)
Shared activity does not announce the 'buddy-left' signal OLPC #10800
This fixes a copy and paste error. A good test case is the Memorize activity since we listen for the 'buddy-left' signal there to update the members list inside the activity. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-By: Sascha Silbe <silbe@activitycentral.com>
-rw-r--r--src/sugar/presence/activity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/presence/activity.py b/src/sugar/presence/activity.py
index b616510..fb4c990 100644
--- a/src/sugar/presence/activity.py
+++ b/src/sugar/presence/activity.py
@@ -341,7 +341,7 @@ class Activity(gobject.GObject):
if self._channel_self_handle in removed:
removed.remove(self._channel_self_handle)
if removed:
- self._resolve_handles(added, reply_cb=self._remove_buddies)
+ self._resolve_handles(removed, reply_cb=self._remove_buddies)
def _add_buddies(self, contact_ids):
for contact_id in contact_ids: