telepathy-idle: RoomlistManager: remove redundant check for Handle
Will Thompson
wjt at kemper.freedesktop.org
Tue Oct 30 02:01:08 PDT 2012
Module: telepathy-idle
Branch: master
Commit: 39ed6a0d707397fa13ba6d19580d257b7b2df8e2
URL: http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=39ed6a0d707397fa13ba6d19580d257b7b2df8e2
Author: Will Thompson <will.thompson at collabora.co.uk>
Date: Tue Oct 30 09:00:23 2012 +0000
RoomlistManager: remove redundant check for Handle
tp_channel_manager_asv_has_unknown_properties() takes care of excluding
extra properties for us.
---
src/idle-roomlist-manager.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/idle-roomlist-manager.c b/src/idle-roomlist-manager.c
index 5767de6..36594e5 100644
--- a/src/idle-roomlist-manager.c
+++ b/src/idle-roomlist-manager.c
@@ -297,7 +297,6 @@ _roomlist_manager_requestotron (IdleRoomlistManager *self,
{
IdleRoomlistManagerPrivate *priv = self->priv;
GError *error = NULL;
- TpHandle handle;
IDLE_DEBUG("requesting new room list channel");
@@ -318,16 +317,6 @@ _roomlist_manager_requestotron (IdleRoomlistManager *self,
goto error;
}
- handle = tp_asv_get_uint32 (request_properties,
- TP_IFACE_CHANNEL ".TargetHandle", NULL);
-
- if (handle != 0)
- {
- g_set_error (&error, TP_ERROR, TP_ERROR_NOT_IMPLEMENTED,
- "Can't open a room list channel to a particular handle");
- goto error;
- }
-
if (priv->channel == NULL)
{
_roomlist_manager_new_channel (self, request_token);
More information about the telepathy-commits
mailing list