--- a/libpurple/protocols/jabber/jingle/rtp.c Mon Jan 05 09:48:39 2009 +0000 +++ b/libpurple/protocols/jabber/jingle/rtp.c Mon Jan 05 10:19:51 2009 +0000 @@ -325,8 +325,8 @@ { purple_debug_info("jingle-rtp", "state-changed: type %d id: %s name: %s\n", type, sid, name); - if (sid == NULL && name == NULL && - jingle_session_is_initiator(session) == TRUE) { + if (type == PURPLE_MEDIA_STATE_CHANGED_END && + sid == NULL && name == NULL) { gchar *sid = jingle_session_get_sid(session); jabber_iq_send(jingle_session_to_packet(session, JINGLE_SESSION_TERMINATE));