Merge pull request #6101 from nextcloud/enh/noid/whiteboard-default

Enable whiteboard by default
This commit is contained in:
Simon L. 2025-02-28 15:04:05 +01:00 committed by GitHub
commit 2942af2a22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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