Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
23811:d048100a43ab | 23812:28ab41065172 |
---|---|
2638 } | 2638 } |
2639 | 2639 |
2640 gboolean jabber_can_do_media(PurpleConnection *gc, const char *who, | 2640 gboolean jabber_can_do_media(PurpleConnection *gc, const char *who, |
2641 PurpleMediaStreamType type) | 2641 PurpleMediaStreamType type) |
2642 { | 2642 { |
2643 return TRUE; | 2643 if (type == PURPLE_MEDIA_AUDIO) |
2644 return TRUE; | |
2645 else | |
2646 return FALSE; | |
2644 } | 2647 } |
2645 | 2648 |
2646 | 2649 |
2647 void | 2650 void |
2648 jabber_handle_session_accept(JabberStream *js, xmlnode *packet) | 2651 jabber_handle_session_accept(JabberStream *js, xmlnode *packet) |