summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-10-30 09:00:23 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2012-10-30 09:00:23 +0000
commit39ed6a0d707397fa13ba6d19580d257b7b2df8e2 (patch)
tree794fea6a322a5ed81dcdddd2c831c55b50f3e676 /src
parent78cd99642e495a0a60c66709d78d9564444779e7 (diff)
RoomlistManager: remove redundant check for Handle
tp_channel_manager_asv_has_unknown_properties() takes care of excluding extra properties for us.
Diffstat (limited to 'src')
-rw-r--r--src/idle-roomlist-manager.c11
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);