aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo
diff options
context:
space:
mode:
authorSamuel Hand <samuel.d.hand@gmail.com>2018-05-28 01:01:37 +0100
committerMarvin W <git@larma.de>2018-06-03 22:57:51 +0200
commit52e116ee44be1667660c08858a28fe8fda125f79 (patch)
tree83b7a3b1ecbd341e8b24a9535cf527fc3b56f541 /plugins/omemo
parent60982bff67809e62b43476b49e30a9bd37491930 (diff)
downloaddino-52e116ee44be1667660c08858a28fe8fda125f79.tar.gz
dino-52e116ee44be1667660c08858a28fe8fda125f79.zip
remove bundle requests so session creation doesn't fail
Diffstat (limited to 'plugins/omemo')
-rw-r--r--plugins/omemo/src/stream_module.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/omemo/src/stream_module.vala b/plugins/omemo/src/stream_module.vala
index 0148a7f2..6e6772ca 100644
--- a/plugins/omemo/src/stream_module.vala
+++ b/plugins/omemo/src/stream_module.vala
@@ -197,6 +197,7 @@ public class StreamModule : XmppStreamModule {
if (active_bundle_requests.add(jid.bare_jid.to_string() + @":$device_id")) {
if (Plugin.DEBUG) print(@"OMEMO: Asking for bundle from $(jid.bare_jid.to_string()):$device_id\n");
stream.get_module(Pubsub.Module.IDENTITY).request(stream, jid.bare_jid, @"$NODE_BUNDLES:$device_id", (stream, jid, id, node) => {
+ stream.get_module(IDENTITY).active_bundle_requests.remove(jid.bare_jid.to_string() + @":$device_id");
bundle_fetched(jid, device_id, new Bundle(node));
});
}