aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-04-29 15:56:22 +0200
committerfiaxh <git@lightrise.org>2021-05-01 21:51:24 +0200
commit7d2e64769067c1b47e0500f6456dd7e6f4eb435a (patch)
tree0405bd7728c57928bb3c202f684ae85bb7494ffc /plugins/omemo
parent0409f554268c0e8f24e23e471a94de4d3a035ff1 (diff)
downloaddino-7d2e64769067c1b47e0500f6456dd7e6f4eb435a.tar.gz
dino-7d2e64769067c1b47e0500f6456dd7e6f4eb435a.zip
Improve call wording, cleanup
Diffstat (limited to 'plugins/omemo')
-rw-r--r--plugins/omemo/src/dtls_srtp_verification_draft.vala1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/omemo/src/dtls_srtp_verification_draft.vala b/plugins/omemo/src/dtls_srtp_verification_draft.vala
index e2441670..66a31954 100644
--- a/plugins/omemo/src/dtls_srtp_verification_draft.vala
+++ b/plugins/omemo/src/dtls_srtp_verification_draft.vala
@@ -65,7 +65,6 @@ namespace Dino.Plugins.Omemo.DtlsSrtpVerificationDraft {
stream.get_flag(Xep.Jingle.Flag.IDENTITY).get_session.begin(jingle_sid, (_, res) => {
Xep.Jingle.Session? session = stream.get_flag(Xep.Jingle.Flag.IDENTITY).get_session.end(res);
- if (session != null) print(@"$(session.contents_map.has_key(content_name))\n");
if (session == null || !session.contents_map.has_key(content_name)) return;
var encryption = new OmemoContentEncryption() { encryption_ns=NS_URI, encryption_name="OMEMO", our_key=new uint8[0], peer_key=new uint8[0], peer_device_id=device_id_by_jingle_sid[jingle_sid] };
session.contents_map[content_name].encryptions[NS_URI] = encryption;