Changeset

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
parents 4390:17d44ba8fde2
children 4392:e5792ca1d704
files mod_groups_migration/mod_groups_migration.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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