pidgin/pidgin

12dd8cf1a455
Merged in jingle-reply-with-senders-both (pull request #635)

jingle: always reply with senders set to both

Approved-by: Gary Kramlich
Approved-by: John Bailey
Approved-by: Eion Robb
--- a/libpurple/protocols/jabber/jingle/jingle.c Tue Nov 12 02:54:53 2019 +0000
+++ b/libpurple/protocols/jabber/jingle/jingle.c Tue Nov 12 03:02:55 2019 +0000
@@ -233,6 +233,13 @@
"unsupported-applications"));
} else {
jingle_session_add_content(session, parsed_content);
+ /* since we don't have the possibility to enable
+ * our local video after the video connection is
+ * established, we ignore senders of type
+ * 'initiator', and reply with senders of type
+ * 'both' instead.
+ */
+ jingle_content_modify(parsed_content, "both");
jingle_content_handle_action(parsed_content, content,
JINGLE_SESSION_INITIATE);
}