Skip to content

Commit ed96925

Browse files
committed
fix: use config in line with 31
Signed-off-by: Elizabeth Danzberger <elizabeth@elzody.dev>
1 parent e49f447 commit ed96925

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/AppConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ private function getFederationDomains(): array {
246246
}
247247

248248
public function isPreviewGenerationEnabled(): bool {
249-
return $this->appConfig->getAppValueBool('preview_generation', true);
249+
return $this->config->getAppValue(Application::APPNAME, 'preview_generation', 'true') !== 'false';
250250
}
251251

252252
/**

0 commit comments

Comments
 (0)