aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-09-28 21:40:43 +0200
committerfiaxh <git@lightrise.org>2019-09-29 01:53:59 +0200
commit74c29d4df19f97b9b67bbc3c1a963a8729be69fd (patch)
treeaf3624c4b34a21274758b830c3df404244113829 /plugins
parent1287135ebbe8420de44ab73ce6a553b17067dfdb (diff)
downloaddino-74c29d4df19f97b9b67bbc3c1a963a8729be69fd.tar.gz
dino-74c29d4df19f97b9b67bbc3c1a963a8729be69fd.zip
Add Bookmarks2 implementation, introduce bookmarks interfaces
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omemo/src/protocol/stream_module.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/omemo/src/protocol/stream_module.vala b/plugins/omemo/src/protocol/stream_module.vala
index 9a1bc75a..95ba4c85 100644
--- a/plugins/omemo/src/protocol/stream_module.vala
+++ b/plugins/omemo/src/protocol/stream_module.vala
@@ -75,7 +75,7 @@ public class StreamModule : XmppStreamModule {
if (!am_on_devicelist) {
debug("Not on device list, adding id");
node.put_node(new StanzaNode.build("device", NS_URI).put_attribute("id", store.local_registration_id.to_string()));
- stream.get_module(Pubsub.Module.IDENTITY).publish(stream, jid, NODE_DEVICELIST, id, node, Xmpp.Xep.Pubsub.ACCESS_MODEL_OPEN);
+ stream.get_module(Pubsub.Module.IDENTITY).publish.begin(stream, jid, NODE_DEVICELIST, id, node, Xmpp.Xep.Pubsub.ACCESS_MODEL_OPEN);
}
publish_bundles_if_needed(stream, jid);
}
@@ -281,7 +281,7 @@ public class StreamModule : XmppStreamModule {
}
bundle.put_node(prekeys);
- stream.get_module(Pubsub.Module.IDENTITY).publish(stream, null, @"$NODE_BUNDLES:$device_id", "1", bundle, Xmpp.Xep.Pubsub.ACCESS_MODEL_OPEN);
+ stream.get_module(Pubsub.Module.IDENTITY).publish.begin(stream, null, @"$NODE_BUNDLES:$device_id", "1", bundle, Xmpp.Xep.Pubsub.ACCESS_MODEL_OPEN);
}
public override string get_ns() {