mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 04:22:14 +01:00 
			
		
		
		
	Don't create rooms for "mise en commun"
This commit is contained in:
		@@ -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())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user