From 9daf18f031058ae4c1f13edbf62624bc0345c96f Mon Sep 17 00:00:00 2001 From: Marvin W Date: Mon, 16 Sep 2019 23:47:38 +0200 Subject: Fix warnings and compilation with older valac --- xmpp-vala/src/module/xep/0391_jingle_encrypted_transports.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp-vala') diff --git a/xmpp-vala/src/module/xep/0391_jingle_encrypted_transports.vala b/xmpp-vala/src/module/xep/0391_jingle_encrypted_transports.vala index e2b1326b..a6827bf3 100644 --- a/xmpp-vala/src/module/xep/0391_jingle_encrypted_transports.vala +++ b/xmpp-vala/src/module/xep/0391_jingle_encrypted_transports.vala @@ -39,7 +39,7 @@ public class Module : XmppStreamModule, SecurityPrecondition { string cipher = jet_options.cipher_uri; string type = jet_options.type_uri; if (!envelop_encodings.has_key(type) || !ciphers.has_key(cipher)) { - throw new IqError.NOT_IMPLEMENTED("JET cipher or type unknown"); + throw new Jingle.Error.UNSUPPORTED_SECURITY("JET cipher or type unknown"); } EnvelopEncoding encoding = envelop_encodings[type]; return new SecurityParameters(ciphers[cipher], encoding, ciphers[cipher].generate_random_secret(), jet_options); -- cgit v1.2.3-70-g09d2