[telepathy-gabble/master] Google video caps means the contact is video capable

Sjoerd Simons sjoerd.simons at collabora.co.uk
Thu Jun 25 09:59:42 PDT 2009


---
 src/media-channel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/media-channel.c b/src/media-channel.c
index a9e6035..52a0bb5 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -2780,6 +2780,7 @@ _gabble_media_channel_caps_to_typeflags (GabblePresenceCapabilities caps)
         typeflags |= TP_CHANNEL_MEDIA_CAPABILITY_AUDIO;
 
   if ((caps & PRESENCE_CAP_JINGLE_RTP) ||
+      (caps & PRESENCE_CAP_GOOGLE_VIDEO) ||
       ((caps & PRESENCE_CAP_JINGLE_DESCRIPTION_VIDEO) &&
        (caps & PRESENCE_CAP_GOOGLE_TRANSPORT_P2P)))
         typeflags |= TP_CHANNEL_MEDIA_CAPABILITY_VIDEO;
-- 
1.5.6.5




More information about the telepathy-commits mailing list