Mercurial > pidgin
diff libpurple/protocols/jabber/jabber.c @ 23812:28ab41065172
Create a proper media menu with options for audio, video, and
audio/video.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Sat, 31 May 2008 06:29:38 +0000 |
parents | 10f5a529d2a6 |
children | d0ac3c438b71 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Sat May 31 04:01:18 2008 +0000 +++ b/libpurple/protocols/jabber/jabber.c Sat May 31 06:29:38 2008 +0000 @@ -2640,7 +2640,10 @@ gboolean jabber_can_do_media(PurpleConnection *gc, const char *who, PurpleMediaStreamType type) { - return TRUE; + if (type == PURPLE_MEDIA_AUDIO) + return TRUE; + else + return FALSE; }