diff options
author | fiaxh <git@lightrise.org> | 2021-06-01 10:48:09 -0600 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-06-01 10:48:09 -0600 |
commit | 1ac16ecd8450084fade1401eec18c8663e48cdf6 (patch) | |
tree | 02c7eefcf10b257a9f8452cfc870fed399a8f534 /xmpp-vala/src/module/xep/0166_jingle/content.vala | |
parent | 686035ca1ee65d8180585d0e8c4b30faa0caacc4 (diff) | |
download | dino-1ac16ecd8450084fade1401eec18c8663e48cdf6.tar.gz dino-1ac16ecd8450084fade1401eec18c8663e48cdf6.zip |
Send 'initiator' in jingle node, send 'creator' in content node
Diffstat (limited to 'xmpp-vala/src/module/xep/0166_jingle/content.vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0166_jingle/content.vala | 6 |
1 files changed, 6 insertions, 0 deletions
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 { |