[telepathy-gabble/telepathy-gabble-0.8] Regard Jingle draft 0.15 clients as callable

Will Thompson will.thompson at collabora.co.uk
Mon Oct 5 05:18:10 PDT 2009


A contact has to pass contact_is_media_capable()'s scrutiny before we
can request streams to them. All the other code deals just fine with
clients that only support draft 0.15, but this did not.

In practice this was not an issue because the only such client is Ye
Olde Gabble, which supports Google Talk's dialects, so it got past these
checks.
---
 src/media-channel.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/media-channel.c b/src/media-channel.c
index 59f1a37..fa3307a 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -2078,6 +2078,9 @@ contact_is_media_capable (GabbleMediaChannel *chan,
   presence = gabble_presence_cache_get (priv->conn->presence_cache, peer);
 
   caps = PRESENCE_CAP_GOOGLE_VOICE | PRESENCE_CAP_GOOGLE_VOICE |
+    PRESENCE_CAP_JINGLE015 |
+    PRESENCE_CAP_JINGLE_DESCRIPTION_AUDIO |
+    PRESENCE_CAP_JINGLE_DESCRIPTION_VIDEO |
     PRESENCE_CAP_JINGLE_RTP |
     PRESENCE_CAP_JINGLE_DESCRIPTION_AUDIO |
     PRESENCE_CAP_JINGLE_DESCRIPTION_VIDEO;
-- 
1.5.6.5



More information about the telepathy-commits mailing list