mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 15:22:26 +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",
 | 
					                    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())
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user