[Telepathy-commits] [telepathy-salut/master] create_tubes_channel: announce the newly created text channel

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Nov 25 07:08:55 PST 2008


---
 src/salut-muc-manager.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/salut-muc-manager.c b/src/salut-muc-manager.c
index 4334b95..51bb4f7 100644
--- a/src/salut-muc-manager.c
+++ b/src/salut-muc-manager.c
@@ -715,6 +715,8 @@ create_tubes_channel (SalutMucManager *self,
       /* FIXME: this channel will come out with Requested: True. */
       text_chan = salut_muc_manager_request_new_muc_channel (self,
           handle, error);
+      salut_muc_manager_emit_new_channel (self,
+          TP_EXPORTABLE_CHANNEL (text_chan));
       if (text_chan == NULL)
         return NULL;
     }
@@ -740,7 +742,6 @@ salut_muc_manager_associate_request (SalutMucManager *self,
   g_hash_table_insert (priv->queued_requests, channel, list);
 }
 
-
 static gboolean
 salut_muc_manager_request (SalutMucManager *self,
                            gpointer request_token,
-- 
1.5.6.5




More information about the Telepathy-commits mailing list