telepathy-gabble: gabble_private_tubes_factory_add_cap: stop checking for Tubes type

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Mon Oct 7 14:45:48 PDT 2013


Module: telepathy-gabble
Branch: master
Commit: e354405a2da76af3003c717700c6ec516d3db59a
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=e354405a2da76af3003c717700c6ec516d3db59a

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Mon Oct  7 14:45:58 2013 -0400

gabble_private_tubes_factory_add_cap: stop checking for Tubes type

We don't support the old tube API since a while.

---

 src/private-tubes-factory.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/private-tubes-factory.c b/src/private-tubes-factory.c
index b2d8d35..b70f1b0 100644
--- a/src/private-tubes-factory.c
+++ b/src/private-tubes-factory.c
@@ -577,8 +577,7 @@ gabble_private_tubes_factory_add_cap (GabbleCapsChannelManager *manager,
             TP_PROP_CHANNEL_CHANNEL_TYPE);
 
   /* this channel is not for this factory */
-  if (tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_TUBES) &&
-      tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAM_TUBE) &&
+  if (tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAM_TUBE) &&
       tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_DBUS_TUBE))
     return;
 



More information about the telepathy-commits mailing list