From d37354dc246911437a4f2bdefd170e9eb288d3dd Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Fri, 4 Feb 2022 14:14:59 +0100 Subject: [PATCH] Don't create rooms for "mise en commun" --- apps/participation/management/commands/fix_matrix_channels.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/participation/management/commands/fix_matrix_channels.py b/apps/participation/management/commands/fix_matrix_channels.py index c463bcf..b68db4b 100644 --- a/apps/participation/management/commands/fix_matrix_channels.py +++ b/apps/participation/management/commands/fix_matrix_channels.py @@ -444,6 +444,7 @@ class Command(BaseCommand): await Matrix.set_room_power_level(f"#equipe-{team.trigram.lower()}:tfjm.org", f"@{participant.matrix_username}:tfjm.org", 50) + """ # Manage channels to discuss about problems for i in range(9): self.stdout.write(f"Create channel for problem {i}...") @@ -471,5 +472,6 @@ class Command(BaseCommand): await Matrix.set_room_power_level(f"#mec-{i}:tfjm.org", f"@{registration.matrix_username}:tfjm.org", 95 if registration.is_admin else 50) + """ asyncio.get_event_loop().run_until_complete(main())