aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0166_jingle
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-04-09 23:59:03 +0200
committerfiaxh <git@lightrise.org>2021-04-11 14:42:59 +0200
commitdfffa08ec16e16157df6e7036e09073a546d7552 (patch)
tree4e42223be646880cc0b9b938208a464231a57d23 /xmpp-vala/src/module/xep/0166_jingle
parent6ebdec1d78a7ad1b8668a2ba6eceb34515c75384 (diff)
downloaddino-dfffa08ec16e16157df6e7036e09073a546d7552.tar.gz
dino-dfffa08ec16e16157df6e7036e09073a546d7552.zip
Fix warnings
Diffstat (limited to 'xmpp-vala/src/module/xep/0166_jingle')
-rw-r--r--xmpp-vala/src/module/xep/0166_jingle/content.vala6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmpp-vala/src/module/xep/0166_jingle/content.vala b/xmpp-vala/src/module/xep/0166_jingle/content.vala
index 67510c36..beb12183 100644
--- a/xmpp-vala/src/module/xep/0166_jingle/content.vala
+++ b/xmpp-vala/src/module/xep/0166_jingle/content.vala
@@ -201,12 +201,6 @@ public class Xmpp.Xep.Jingle.Content : Object {
stream.get_module(Iq.Module.IDENTITY).send_iq(stream, new Iq.Stanza.result(iq));
}
- void verify_content(ContentNode content) throws IqError {
- if (content.name != content_name || content.creator != content_creator) {
- throw new IqError.BAD_REQUEST("unknown content");
- }
- }
-
public void set_transport_connection(ComponentConnection? conn, uint8 component = 1) {
debug(@"set_transport_connection: %s, %s, %i, %s, overwrites: %s", this.content_name, this.state.to_string(), component, (conn != null).to_string(), component_connections.has_key(component).to_string());