[Telepathy-commits] [telepathy-salut/master] salut_tubes_channel_offer_stream_tube: no need to call salut_tubes_channel_send_iq_offer, it's done by salut_tube_stream_offer

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Mar 11 09:15:35 PDT 2009


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

diff --git a/src/salut-tubes-channel.c b/src/salut-tubes-channel.c
index 5df85d9..2321f84 100644
--- a/src/salut-tubes-channel.c
+++ b/src/salut-tubes-channel.c
@@ -2143,13 +2143,6 @@ salut_tubes_channel_offer_stream_tube (TpSvcChannelTypeTubes *iface,
       "access-control-param", access_control_param,
       NULL);
 
-  if (priv->handle_type == TP_HANDLE_TYPE_CONTACT)
-    {
-      /* FIXME: this is horrible. That should be done using
-       * salut_tube_stream_offer */
-      salut_tubes_channel_send_iq_offer (self);
-    }
-
   if (!salut_tube_stream_offer (SALUT_TUBE_STREAM (tube), &error))
     {
       salut_tube_iface_close (tube, TRUE);
-- 
1.5.6.5




More information about the telepathy-commits mailing list