aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0166_jingle/content.vala
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala/src/module/xep/0166_jingle/content.vala')
-rw-r--r--xmpp-vala/src/module/xep/0166_jingle/content.vala6
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 {