[Telepathy-commits] [telepathy-gabble/master] gabble_tubes_channel_presence_updated: emit newly create tube channel

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Jan 19 07:08:15 PST 2009


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

diff --git a/src/tubes-channel.c b/src/tubes-channel.c
index c0cda7f..ecb82c8 100644
--- a/src/tubes-channel.c
+++ b/src/tubes-channel.c
@@ -903,6 +903,9 @@ gabble_tubes_channel_presence_updated (GabbleTubesChannel *self,
               tube = create_new_tube (self, type, initiator_handle,
                   service, parameters, stream_id, tube_id, NULL);
 
+              tp_channel_manager_emit_new_channel (priv->conn->muc_factory,
+                  TP_EXPORTABLE_CHANNEL (tube), NULL);
+
               /* the tube has reffed its initiator, no need to keep a ref */
               tp_handle_unref (contact_repo, initiator_handle);
               g_hash_table_destroy (parameters);
-- 
1.5.6.5




More information about the Telepathy-commits mailing list