[Telepathy-commits] [telepathy-salut/master] salut_roomlist_manager_request: don't check the Server property as user can't pass it when requesting anymore

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Nov 27 07:59:59 PST 2008


---
 src/salut-roomlist-manager.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/src/salut-roomlist-manager.c b/src/salut-roomlist-manager.c
index b98228e..97f00a9 100644
--- a/src/salut-roomlist-manager.c
+++ b/src/salut-roomlist-manager.c
@@ -402,7 +402,6 @@ salut_roomlist_manager_request (TpChannelManager *manager,
   SalutRoomlistChannel *roomlist_channel = NULL;
   GError *error = NULL;
   GSList *request_tokens;
-  const gchar *server;
 
   if (tp_strdiff (tp_asv_get_string (request_properties,
           TP_IFACE_CHANNEL ".ChannelType"),
@@ -423,16 +422,6 @@ salut_roomlist_manager_request (TpChannelManager *manager,
           &error))
     goto error;
 
-  server = tp_asv_get_string (request_properties,
-      TP_IFACE_CHANNEL_TYPE_ROOM_LIST ".Server");
-
-  if (server != NULL && strlen (server) != 0)
-    {
-      g_set_error (&error, TP_ERRORS, TP_ERROR_NOT_IMPLEMENTED,
-          "Salut does not use a server to list chatrooms");
-      goto error;
-    }
-
   if (!require_new && priv->roomlist_channels != NULL)
     {
       /* reuse the first channel */
-- 
1.5.6.5




More information about the Telepathy-commits mailing list