aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-04-07 17:22:22 +0100
committerMatthew Wild <mwild1@gmail.com>2022-04-07 17:22:22 +0100
commit80d23969e90f1841e4bd2352dbdfbcc41ecb6199 (patch)
tree08e3b872d312afec05ce7ff063cd5f0d17f8cc24
parentb887ce05690c50fead2615eb6c1491bef523304d (diff)
parentea30ed9428d1e6fcd4290ad4230f9520801d1a13 (diff)
downloadprosody-80d23969e90f1841e4bd2352dbdfbcc41ecb6199.tar.gz
prosody-80d23969e90f1841e4bd2352dbdfbcc41ecb6199.zip
Merge 0.12->trunk
-rw-r--r--plugins/mod_storage_xep0227.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua
index 9a3ca002..c1c7a62c 100644
--- a/plugins/mod_storage_xep0227.lua
+++ b/plugins/mod_storage_xep0227.lua
@@ -299,6 +299,9 @@ handlers.pep = {
]]
};
local owner_el = user_el:get_child("pubsub", xmlns_pubsub_owner);
+ if not owner_el then
+ return nil;
+ end
for node_el in owner_el:childtags() do
local node_name = node_el.attr.node;
local node = nodes[node_name];