From 1ac16ecd8450084fade1401eec18c8663e48cdf6 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 1 Jun 2021 10:48:09 -0600 Subject: Send 'initiator' in jingle node, send 'creator' in content node --- xmpp-vala/src/module/xep/0167_jingle_rtp/session_info_type.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'xmpp-vala/src/module/xep/0167_jingle_rtp') diff --git a/xmpp-vala/src/module/xep/0167_jingle_rtp/session_info_type.vala b/xmpp-vala/src/module/xep/0167_jingle_rtp/session_info_type.vala index 32cd9016..02ecd72c 100644 --- a/xmpp-vala/src/module/xep/0167_jingle_rtp/session_info_type.vala +++ b/xmpp-vala/src/module/xep/0167_jingle_rtp/session_info_type.vala @@ -53,7 +53,10 @@ namespace Xmpp.Xep.JingleRtp { foreach (Jingle.Content content in session.contents) { Parameters? parameters = content.content_params as Parameters; if (parameters != null && parameters.media == media) { - StanzaNode session_info_content = new StanzaNode.build(node_name, NS_URI).add_self_xmlns().put_attribute("name", content.content_name); + StanzaNode session_info_content = new StanzaNode.build(node_name, NS_URI) + .add_self_xmlns() + .put_attribute("name", content.content_name) + .put_attribute("creator", content.content_creator.to_string()); session.send_session_info(session_info_content); } } -- cgit v1.2.3-70-g09d2