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/0166_jingle/content.vala | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xmpp-vala/src/module/xep/0166_jingle/content.vala') diff --git a/xmpp-vala/src/module/xep/0166_jingle/content.vala b/xmpp-vala/src/module/xep/0166_jingle/content.vala index 41310aeb..be78c91a 100644 --- a/xmpp-vala/src/module/xep/0166_jingle/content.vala +++ b/xmpp-vala/src/module/xep/0166_jingle/content.vala @@ -229,6 +229,12 @@ public class Xmpp.Xep.Jingle.Content : Object { public void send_transport_info(StanzaNode transport) { session.send_transport_info(this, transport); } + + internal StanzaNode build_outer_content_node() { + return new StanzaNode.build("content", NS_URI) + .put_attribute("creator", content_creator.to_string()) + .put_attribute("name", content_name); + } } public class Xmpp.Xep.Jingle.ContentEncryption : Object { -- cgit v1.3