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
commit 0b6496799c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
}
}