aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-01-10 16:52:13 +0100
committerfiaxh <git@lightrise.org>2022-01-10 17:11:24 +0100
commitf2ef2bcfe7f3e5d1449285c1517df703af1221a4 (patch)
treea196c164a6a98bf1fc1c4f15b5d96077d1453802 /plugins/omemo/src
parent82a492b33f1232c26db75dbef2d94a800161d466 (diff)
downloaddino-f2ef2bcfe7f3e5d1449285c1517df703af1221a4.tar.gz
dino-f2ef2bcfe7f3e5d1449285c1517df703af1221a4.zip
Only process PEP messages from bare JIDs
Diffstat (limited to 'plugins/omemo/src')
-rw-r--r--plugins/omemo/src/protocol/stream_module.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/omemo/src/protocol/stream_module.vala b/plugins/omemo/src/protocol/stream_module.vala
index 39d9c448..ca2e73c4 100644
--- a/plugins/omemo/src/protocol/stream_module.vala
+++ b/plugins/omemo/src/protocol/stream_module.vala
@@ -30,7 +30,8 @@ public class StreamModule : XmppStreamModule {
}
public override void attach(XmppStream stream) {
- stream.get_module(Pubsub.Module.IDENTITY).add_filtered_notification(stream, NODE_DEVICELIST, (stream, jid, id, node) => parse_device_list(stream, jid, id, node), null);
+ stream.get_module(Pubsub.Module.IDENTITY).add_filtered_notification(stream, NODE_DEVICELIST, true,
+ (stream, jid, id, node) => parse_device_list(stream, jid, id, node), null);
}
public override void detach(XmppStream stream) {