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)
|
f"@{admin.matrix_username}:tfjm.org", 95)
|
||||||
|
|
||||||
# Invite organizers and give permissions
|
# 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",
|
await Matrix.invite(f"#poule-{slug}-{pool.id}{suffix}:tfjm.org",
|
||||||
f"@{orga.matrix_username}:tfjm.org")
|
f"@{orga.matrix_username}:tfjm.org")
|
||||||
await Matrix.invite(f"#poule-{slug}-{pool.id}{suffix}-jurys:tfjm.org",
|
await Matrix.invite(f"#poule-{slug}-{pool.id}{suffix}-jurys:tfjm.org",
|
||||||
|
|
Loading…
Reference in New Issue