aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0167_jingle_rtp
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-06-01 10:48:09 -0600
committerfiaxh <git@lightrise.org>2021-06-01 10:48:09 -0600
commit1ac16ecd8450084fade1401eec18c8663e48cdf6 (patch)
tree02c7eefcf10b257a9f8452cfc870fed399a8f534 /xmpp-vala/src/module/xep/0167_jingle_rtp
parent686035ca1ee65d8180585d0e8c4b30faa0caacc4 (diff)
downloaddino-1ac16ecd8450084fade1401eec18c8663e48cdf6.tar.gz
dino-1ac16ecd8450084fade1401eec18c8663e48cdf6.zip
Send 'initiator' in jingle node, send 'creator' in content node
Diffstat (limited to 'xmpp-vala/src/module/xep/0167_jingle_rtp')
-rw-r--r--xmpp-vala/src/module/xep/0167_jingle_rtp/session_info_type.vala5
1 files changed, 4 insertions, 1 deletions
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);
}
}