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:
parent
3553fbd2f0
commit
5b09eb1d74
@ -341,7 +341,7 @@ class Activity(gobject.GObject):
|
|||||||
if self._channel_self_handle in removed:
|
if self._channel_self_handle in removed:
|
||||||
removed.remove(self._channel_self_handle)
|
removed.remove(self._channel_self_handle)
|
||||||
if removed:
|
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):
|
def _add_buddies(self, contact_ids):
|
||||||
for contact_id in contact_ids:
|
for contact_id in contact_ids:
|
||||||
|
Loading…
Reference in New Issue
Block a user