mod_storage_xep0227: Fix traceback during iteration of driver stores
authorMatthew Wild <mwild1@gmail.com>
Mon, 17 Jan 2022 14:12:45 +0000
changeset 12198 9965d7d126c7
parent 12197 a6d2b536c41a
child 12199 c5788969b812
mod_storage_xep0227: Fix traceback during iteration of driver stores :include(other_set), :add(item)
plugins/mod_storage_xep0227.lua
--- a/plugins/mod_storage_xep0227.lua	Mon Jan 17 14:11:45 2022 +0000
+++ b/plugins/mod_storage_xep0227.lua	Mon Jan 17 14:12:45 2022 +0000
@@ -694,7 +694,7 @@
 		if handler_funcs._stores then
 			stores:include(handler_funcs._stores(self, user_xml));
 		else
-			stores:include(handler_name);
+			stores:add(handler_name);
 		end
 	end
 	return stores;