Merge pull request #7118 from nextcloud/enh/noid/disable-whiteboard

change whiteboard to be disabled by default
This commit is contained in:
Simon L.
2025-11-13 11:44:14 +01:00
committed by GitHub

View File

@@ -164,10 +164,10 @@ class ConfigurationManager
public function isWhiteboardEnabled() : bool {
$config = $this->GetConfig();
if (isset($config['isWhiteboardEnabled']) && $config['isWhiteboardEnabled'] === 0) {
return false;
} else {
if (isset($config['isWhiteboardEnabled']) && $config['isWhiteboardEnabled'] === 1) {
return true;
} else {
return false;
}
}