[Telepathy-commits] [telepathy-gabble/master] gabble_media_channel_request_streams: don't restrict to only creating streams to a member of the channel (fd.o #14602)

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:51:54 PDT 2008


20080430154139-53eee-e683b55932e3561aeab7f642ea0c8131b1f9054e.gz
---
 src/gabble-media-channel.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/gabble-media-channel.c b/src/gabble-media-channel.c
index 4e01b75..7c63103 100644
--- a/src/gabble-media-channel.c
+++ b/src/gabble-media-channel.c
@@ -1050,14 +1050,6 @@ gabble_media_channel_request_streams (TpSvcChannelTypeStreamedMedia *iface,
   if (!tp_handle_is_valid (contact_handles, contact_handle, &error))
     goto error;
 
-  if (!tp_handle_set_is_member (self->group.members, contact_handle) &&
-      !tp_handle_set_is_member (self->group.remote_pending, contact_handle))
-    {
-      g_set_error (&error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
-          "given handle %u is not a member of the channel", contact_handle);
-      goto error;
-    }
-
   if (priv->session == NULL)
     {
       if (create_session (self, contact_handle, NULL, NULL, &error)
-- 
1.5.6.3




More information about the Telepathy-commits mailing list