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>
This commit is contained in:
Simon Schampijer 2011-05-23 10:33:50 +02:00
parent 3553fbd2f0
commit 5b09eb1d74

View File

@ -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: