mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 08:22:10 +01:00 
			
		
		
		
	Invite local organizers, not all organizers in pool channels
This commit is contained in:
		@@ -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",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user