diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-04-07 17:22:22 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-04-07 17:22:22 +0100 |
commit | 80d23969e90f1841e4bd2352dbdfbcc41ecb6199 (patch) | |
tree | 08e3b872d312afec05ce7ff063cd5f0d17f8cc24 | |
parent | b887ce05690c50fead2615eb6c1491bef523304d (diff) | |
parent | ea30ed9428d1e6fcd4290ad4230f9520801d1a13 (diff) | |
download | prosody-80d23969e90f1841e4bd2352dbdfbcc41ecb6199.tar.gz prosody-80d23969e90f1841e4bd2352dbdfbcc41ecb6199.zip |
Merge 0.12->trunk
-rw-r--r-- | plugins/mod_storage_xep0227.lua | 3 |
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]; |