From 043d3b0ee739480fd6d8ca9f203937948ac483e5 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Fri, 2 Jul 2010 11:39:12 +0200 Subject: [PATCH] Emit the buddy-left signal --- src/sugar/presence/activity.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sugar/presence/activity.py b/src/sugar/presence/activity.py index ba80e84c..21997d96 100644 --- a/src/sugar/presence/activity.py +++ b/src/sugar/presence/activity.py @@ -325,6 +325,9 @@ class Activity(gobject.GObject): for contact_handle in added: self.emit('buddy-joined', Buddy(self.telepathy_conn, contact_handle)) + for contact_handle in removed: + self.emit('buddy-left', Buddy(self.telepathy_conn, contact_handle)) + def join(self): """Join this activity.