branch | 0.11 |
changeset 10676 | 657e61531b33 |
parent 10524 | 225fade2ab4d |
child 10677 | 1a23a58ac84e |
child 11380 | 774811e2c6ab |
--- a/plugins/mod_pep.lua Thu Feb 27 19:42:51 2020 +0100 +++ b/plugins/mod_pep.lua Thu Feb 27 20:01:54 2020 +0100 @@ -51,7 +51,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