# HG changeset patch # User Matthew Wild # Date 1649348542 -3600 # Node ID e703a9d71360e734e0cdb43b12d94ebb3e7742dc # Parent 1ec4a3a61cf75255a774fdfa93a2961376d3841c# Parent b2438f374b3e7242299cde0010db01c29cb47e08 Merge 0.12->trunk diff -r 1ec4a3a61cf7 -r e703a9d71360 plugins/mod_storage_xep0227.lua --- a/plugins/mod_storage_xep0227.lua Tue Apr 05 19:49:18 2022 +0200 +++ b/plugins/mod_storage_xep0227.lua Thu Apr 07 17:22:22 2022 +0100 @@ -299,6 +299,9 @@ ]] }; 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];