[telepathy-gabble/master] GabbleMediaChannel: only consider modern Jingle contacts callable if they support audio or video content
Simon McVittie
simon.mcvittie at collabora.co.uk
Fri Aug 21 07:44:33 PDT 2009
Strictly speaking, the check should be for JINGLE_RTP &&
(JINGLE_RTP_AUDIO || JINGLE_RTP_VIDEO), but that's just being pedantic.
---
src/media-channel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/media-channel.c b/src/media-channel.c
index c2e9fd7..d7bab24 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -2071,7 +2071,7 @@ contact_is_media_capable (GabbleMediaChannel *chan,
*wait_ret = wait;
caps = PRESENCE_CAP_GOOGLE_VOICE | PRESENCE_CAP_GOOGLE_VOICE |
- PRESENCE_CAP_JINGLE_RTP |
+ PRESENCE_CAP_JINGLE_RTP_AUDIO | PRESENCE_CAP_JINGLE_RTP_VIDEO |
PRESENCE_CAP_JINGLE_DESCRIPTION_AUDIO |
PRESENCE_CAP_JINGLE_DESCRIPTION_VIDEO;
--
1.5.6.5
More information about the telepathy-commits
mailing list