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:41:13 (GMT)
commita38d9cca484aba1e81a90e3fbb86f37265455d10 (patch)
tree7eb5508e3c3583609169c4c65695fda9f93553d5
parenta4e7f5fcd3320f51174844ed8a81e4a10593db5d (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: