Changeset

12194:9965d7d126c7

mod_storage_xep0227: Fix traceback during iteration of driver stores :include(other_set), :add(item)
author Matthew Wild <mwild1@gmail.com>
date Mon, 17 Jan 2022 14:12:45 +0000
parents 12193:a6d2b536c41a
children 12195:c5788969b812
files plugins/mod_storage_xep0227.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;