mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 07:02:22 +00:00
Invite local organizers, not all organizers in pool channels
This commit is contained in:
parent
9d741d76f2
commit
3bd6d2e647
@ -386,7 +386,7 @@ class Command(BaseCommand):
|
||||
f"@{admin.matrix_username}:tfjm.org", 95)
|
||||
|
||||
# Invite organizers and give permissions
|
||||
for orga in VolunteerRegistration.objects.all():
|
||||
for orga in tournament.organizers.all():
|
||||
await Matrix.invite(f"#poule-{slug}-{pool.id}{suffix}:tfjm.org",
|
||||
f"@{orga.matrix_username}:tfjm.org")
|
||||
await Matrix.invite(f"#poule-{slug}-{pool.id}{suffix}-jurys:tfjm.org",
|
||||
|
Loading…
Reference in New Issue
Block a user