[Telepathy-commits] [telepathy-haze/master] ImChannelFactory: emit ChannelClosed

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Mar 23 02:44:10 PDT 2009


---
 src/im-channel-factory.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/im-channel-factory.c b/src/im-channel-factory.c
index 1728260..f2f728e 100644
--- a/src/im-channel-factory.c
+++ b/src/im-channel-factory.c
@@ -235,6 +235,9 @@ im_channel_closed_cb (HazeIMChannel *chan, gpointer user_data)
     HazeImChannelFactory *self = HAZE_IM_CHANNEL_FACTORY (user_data);
     TpHandle contact_handle;
 
+    tp_channel_manager_emit_channel_closed_for_object (self,
+        TP_EXPORTABLE_CHANNEL (chan));
+
     if (self->priv->channels)
     {
         g_object_get (chan, "handle", &contact_handle, NULL);
-- 
1.5.6.5




More information about the telepathy-commits mailing list