Mercurial > pidgin
diff libpurple/protocols/jabber/jingle/jingle.c @ 26283:abcc94ace5ea
Update to be closer to the current Jingle XEP.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Tue, 17 Mar 2009 02:48:43 +0000 |
parents | 583d211a956a |
children | 3c684403ea10 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jingle/jingle.c Tue Mar 17 02:19:10 2009 +0000 +++ b/libpurple/protocols/jabber/jingle/jingle.c Tue Mar 17 02:48:43 2009 +0000 @@ -177,6 +177,12 @@ } static void +jingle_handle_security_info(JingleSession *session, xmlnode *jingle) +{ + jabber_iq_send(jingle_session_create_ack(session, jingle)); +} + +static void jingle_handle_session_accept(JingleSession *session, xmlnode *jingle) { xmlnode *content = xmlnode_get_child(jingle, "content"); @@ -321,6 +327,7 @@ {"content-reject", jingle_handle_content_reject}, {"content-remove", jingle_handle_content_remove}, {"description-info", jingle_handle_description_info}, + {"security-info", jingle_handle_security_info}, {"session-accept", jingle_handle_session_accept}, {"session-info", jingle_handle_session_info}, {"session-initiate", jingle_handle_session_initiate},