File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,13 @@ class MatrixRtcConfig(Config):
3232 def read_config (
3333 self , config : JsonDict , allow_secrets_in_config : bool , ** kwargs : Any
3434 ) -> None :
35-
3635 matrix_rtc : JsonDict = config .get ("matrix_rtc" , {})
3736 self .services = matrix_rtc .get ("services" , [])
3837
3938 if not isinstance (self .services , list ):
4039 raise ConfigError (
41- "MatrixRTC endpoints needs to be an array of endpoints" ,
42- ("matrix_rtc" ,)
40+ "MatrixRTC endpoints needs to be an array of endpoints" , ("matrix_rtc" ,)
4341 )
4442
4543 if any (("type" not in e for e in self .services )):
46- raise ConfigError (
47- "MatrixRTC endpoint is missing type" ,
48- ("matrix_rtc" ,)
49- )
44+ raise ConfigError ("MatrixRTC endpoint is missing type" , ("matrix_rtc" ,))
You can’t perform that action at this time.
0 commit comments