[Telepathy-commits] [telepathy-gabble/master] gabble_tubes_channel_presence_updated: we can announce D-Bus tubes too now

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Feb 3 02:46:39 PST 2009


---
 src/tubes-channel.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/tubes-channel.c b/src/tubes-channel.c
index bfb0ce5..36e2859 100644
--- a/src/tubes-channel.c
+++ b/src/tubes-channel.c
@@ -901,13 +901,8 @@ gabble_tubes_channel_presence_updated (GabbleTubesChannel *self,
               tube = create_new_tube (self, type, initiator_handle,
                   service, parameters, stream_id, tube_id, NULL);
 
-              if (type == TP_TUBE_TYPE_STREAM)
-                {
-                  /* FIXME: remove this test once D-Tube new API is
-                   * implemented */
-                  tp_channel_manager_emit_new_channel (priv->conn->muc_factory,
-                      TP_EXPORTABLE_CHANNEL (tube), 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);
-- 
1.5.6.5




More information about the telepathy-commits mailing list