Skip to content

Commit

Permalink
Merge pull request #3220 from nextcloud/backport/3200/stable26
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr authored Oct 10, 2023
2 parents 9728251 + a88ca81 commit db386a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function getCapabilities() {
'mimetypes' => array_values($filteredMimetypes),
'mimetypesNoDefaultOpen' => array_values($optionalMimetypes),
'collabora' => $collaboraCapabilities,
'direct_editing' => isset($collaboraCapabilities['hasMobileSupport']) && $this->config->getAppValue('mobile_editing') ?: false,
'direct_editing' => ($collaboraCapabilities['hasMobileSupport'] ?? false) && $this->config->getAppValue('mobile_editing', 'yes') === 'yes',
'templates' => isset($collaboraCapabilities['hasTemplateSaveAs']) || isset($collaboraCapabilities['hasTemplateSource']) ?: false,
'productName' => $this->capabilitiesService->getProductName(),
'config' => [
Expand Down

0 comments on commit db386a4

Please sign in to comment.