diff --git a/docker/initial-data.json b/docker/initial-data.json index 5e41638f8..396eaecec 100644 --- a/docker/initial-data.json +++ b/docker/initial-data.json @@ -112,7 +112,7 @@ "conference_stream_poster_url": "", "conference_open_microphone": true, "conference_open_video": true, - "conference_auto_connect_next_speakers": true, + "conference_auto_connect_next_speakers": 0, "projector_countdown_default_time": 60, "projector_countdown_warning_time": 0, diff --git a/docs/datavalidator/check_json.py b/docs/datavalidator/check_json.py index 1c221982d..94addc294 100644 --- a/docs/datavalidator/check_json.py +++ b/docs/datavalidator/check_json.py @@ -50,11 +50,11 @@ def check_color(value: Any) -> bool: def check_number(value: Any) -> bool: - return value is None or isinstance(value, int) + return value is None or type(value) == int def check_float(value: Any) -> bool: - return value is None or isinstance(value, int) or isinstance(value, float) + return value is None or type(value) in (int, float) def check_boolean(value: Any) -> bool: diff --git a/docs/example-data.json b/docs/example-data.json index e1161c37e..d1bc9d0ab 100644 --- a/docs/example-data.json +++ b/docs/example-data.json @@ -248,7 +248,7 @@ "conference_stream_poster_url": "", "conference_open_microphone": true, "conference_open_video": true, - "conference_auto_connect_next_speakers": true, + "conference_auto_connect_next_speakers": 0, "jitsi_room_name": "", "jitsi_domain": "",