[Telepathy-commits] [telepathy-gabble/master] gabble_muc_factory_request: use tp_channel_manager_emit_new_channel directly instead of gabble_muc_factory_associate_request when announcing a newly created tubes channel

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Jan 12 08:37:50 PST 2009


---
 src/muc-factory.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/muc-factory.c b/src/muc-factory.c
index 2bed685..16575e4 100644
--- a/src/muc-factory.c
+++ b/src/muc-factory.c
@@ -1423,10 +1423,12 @@ gabble_muc_factory_request (GabbleMucFactory *self,
         }
       else if (ensure_tubes_channel (self, handle, &tubes_chan))
         {
-          gabble_muc_factory_associate_request (self, tubes_chan,
-              request_token);
-          gabble_muc_factory_emit_new_channel (self,
-              TP_EXPORTABLE_CHANNEL (tubes_chan));
+          GSList *list = NULL;
+
+          list = g_slist_prepend (list, request_token);
+          tp_channel_manager_emit_new_channel (self,
+              TP_EXPORTABLE_CHANNEL (tubes_chan), list);
+          g_slist_free (list);
         }
       else
         {
-- 
1.5.6.5




More information about the Telepathy-commits mailing list