Mercurial > pidgin
diff libpurple/protocols/jabber/jingle/rtp.c @ 26029:8b16e5fcaa32
Added reject and hangup states to the state-changed signal.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Tue, 13 Jan 2009 05:32:34 +0000 |
parents | ac4d7695dbc7 |
children | 5d9a97a23d6e |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jingle/rtp.c Tue Jan 13 03:02:42 2009 +0000 +++ b/libpurple/protocols/jabber/jingle/rtp.c Tue Jan 13 05:32:34 2009 +0000 @@ -320,7 +320,8 @@ { purple_debug_info("jingle-rtp", "state-changed: type %d id: %s name: %s\n", type, sid, name); - if (type == PURPLE_MEDIA_STATE_CHANGED_END && + if ((type == PURPLE_MEDIA_STATE_CHANGED_REJECTED || + type == PURPLE_MEDIA_STATE_CHANGED_HANGUP) && sid == NULL && name == NULL) { gchar *sid = jingle_session_get_sid(session); jabber_iq_send(jingle_session_to_packet(session,