From f2ef2bcfe7f3e5d1449285c1517df703af1221a4 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 10 Jan 2022 16:52:13 +0100 Subject: Only process PEP messages from bare JIDs --- plugins/omemo/src/protocol/stream_module.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/omemo/src/protocol') 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) { -- cgit v1.2.3-70-g09d2