Don't create rooms for "mise en commun"
This commit is contained in:
parent
d210b2a221
commit
d37354dc24
|
@ -444,6 +444,7 @@ class Command(BaseCommand):
|
||||||
await Matrix.set_room_power_level(f"#equipe-{team.trigram.lower()}:tfjm.org",
|
await Matrix.set_room_power_level(f"#equipe-{team.trigram.lower()}:tfjm.org",
|
||||||
f"@{participant.matrix_username}:tfjm.org", 50)
|
f"@{participant.matrix_username}:tfjm.org", 50)
|
||||||
|
|
||||||
|
"""
|
||||||
# Manage channels to discuss about problems
|
# Manage channels to discuss about problems
|
||||||
for i in range(9):
|
for i in range(9):
|
||||||
self.stdout.write(f"Create channel for problem {i}...")
|
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",
|
await Matrix.set_room_power_level(f"#mec-{i}:tfjm.org",
|
||||||
f"@{registration.matrix_username}:tfjm.org",
|
f"@{registration.matrix_username}:tfjm.org",
|
||||||
95 if registration.is_admin else 50)
|
95 if registration.is_admin else 50)
|
||||||
|
"""
|
||||||
|
|
||||||
asyncio.get_event_loop().run_until_complete(main())
|
asyncio.get_event_loop().run_until_complete(main())
|
||||||
|
|
Loading…
Reference in New Issue