[Telepathy-commits] [telepathy-salut/master] src/salut-connection.c: Remove the hack to test caps txt record

Alban Crequy alban.crequy at collabora.co.uk
Thu Feb 26 11:20:05 PST 2009


---
 src/salut-connection.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/salut-connection.c b/src/salut-connection.c
index fa49b60..c790558 100644
--- a/src/salut-connection.c
+++ b/src/salut-connection.c
@@ -603,16 +603,6 @@ set_own_status (GObject *obj,
             err->message);
     }
 
-  /* HACK HACK!: for testing, the user can set the presence to avail/buzy to
-   * change the caps! */
-  ret = salut_self_set_caps (priv->self, "thenode", "thehash",
-      presence == SALUT_PRESENCE_AVAILABLE ? "ver_avail":"ver_notavail",
-      &err);
-  if (! ret)
-    {
-      g_set_error (error, TP_ERRORS, TP_ERROR_NETWORK_ERROR, err->message);
-    }
-
   return TRUE;
 }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list