plugins/mod_pep.lua
changeset 10677 1a23a58ac84e
parent 10525 cbb2c3f8bb1d
parent 10676 657e61531b33
child 11382 b790df8f9448
--- a/plugins/mod_pep.lua	Thu Feb 27 19:50:30 2020 +0100
+++ b/plugins/mod_pep.lua	Thu Feb 27 20:05:47 2020 +0100
@@ -52,7 +52,7 @@
 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