[Telepathy-commits] [telepathy-gabble/master] create_new_tube: don't call update_tubes_presence anymore as tubes are not open at this stage

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Feb 3 09:09:37 PST 2009


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

diff --git a/src/tubes-channel.c b/src/tubes-channel.c
index 081952a..58ad316 100644
--- a/src/tubes-channel.c
+++ b/src/tubes-channel.c
@@ -560,13 +560,6 @@ create_new_tube (GabbleTubesChannel *self,
 
   g_object_get (tube, "state", &state, NULL);
 
-  if (state == GABBLE_TUBE_CHANNEL_STATE_OPEN)
-    {
-      /* FIXME: we should remove that once muc D-Bus tube have been ported to
-       * new API */
-      update_tubes_presence (self);
-    }
-
   /* The old API doesn't know the "not offered" state, so we have to wait that
    * the tube is offered before announcing it. */
   if (state != GABBLE_TUBE_CHANNEL_STATE_NOT_OFFERED)
-- 
1.5.6.5




More information about the telepathy-commits mailing list