Mercurial > pidgin
comparison libpurple/protocols/jabber/presence.c @ 27742:49cb3fc2c01a
Add the camera-v1 cap or else Gmail refuses to accept we're video enabled.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Fri, 31 Jul 2009 04:20:30 +0000 |
parents | 735040819c16 |
children | f05c87f3121e |
comparison
equal
deleted
inserted
replaced
27735:7da3bf6d3b2c | 27742:49cb3fc2c01a |
---|---|
322 */ | 322 */ |
323 audio_enabled = jabber_audio_enabled(js, NULL /* unused */); | 323 audio_enabled = jabber_audio_enabled(js, NULL /* unused */); |
324 video_enabled = jabber_video_enabled(js, NULL /* unused */); | 324 video_enabled = jabber_video_enabled(js, NULL /* unused */); |
325 | 325 |
326 if (audio_enabled && video_enabled) | 326 if (audio_enabled && video_enabled) |
327 xmlnode_set_attrib(c, "ext", "voice-v1 video-v1"); | 327 xmlnode_set_attrib(c, "ext", "voice-v1 camera-v1 video-v1"); |
328 else if (audio_enabled) | 328 else if (audio_enabled) |
329 xmlnode_set_attrib(c, "ext", "voice-v1"); | 329 xmlnode_set_attrib(c, "ext", "voice-v1"); |
330 else if (video_enabled) | 330 else if (video_enabled) |
331 xmlnode_set_attrib(c, "ext", "video-v1"); | 331 xmlnode_set_attrib(c, "ext", "camera-v1 video-v1"); |
332 #endif | 332 #endif |
333 | 333 |
334 return presence; | 334 return presence; |
335 } | 335 } |
336 | 336 |