aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 12be41a2..f8047a92 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -51,7 +51,7 @@ function module.restore(data)
end
function is_item_stanza(item)
- return st.is_stanza(item) and item.attr.xmlns == xmlns_pubsub and item.name == "item";
+ return st.is_stanza(item) and item.attr.xmlns == xmlns_pubsub and item.name == "item" and #item.tags == 1;
end
function check_node_config(node, actor, new_config) -- luacheck: ignore 212/node 212/actor