Diff

mod_groups_migration/mod_groups_migration.lua @ 4391:679a0c9d365d

mod_groups_migration: initialise the group with a MUC
author Jonas Schäfer <jonas@wielicki.name>
date Tue, 26 Jan 2021 15:37:52 +0100
parent 4387:e5b4ebacbf7a
child 4416:dd3bfe8f182e
line wrap: on
line diff
--- a/mod_groups_migration/mod_groups_migration.lua	Tue Jan 26 15:37:28 2021 +0100
+++ b/mod_groups_migration/mod_groups_migration.lua	Tue Jan 26 15:37:52 2021 +0100
@@ -12,7 +12,7 @@
 	module:log("info", "migrating to mod_groups!")
 
 	local group_id = default_group_id;
-	local ok, err = mod_groups.create({name="default"}, false, group_id);
+	local ok, err = mod_groups.create({name="default"}, true, group_id);
 	if not ok then
 		module:log("error", "failed to create group: %s", err)
 		return