Skip to content

Commit

Permalink
Merge pull request #3156 from nextcloud/backport/3141/stable25
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr authored Aug 31, 2023
2 parents c7cf0f9 + a368e4d commit 3cbbca4
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']) ?: false,
'direct_editing' => isset($collaboraCapabilities['hasMobileSupport']) && $this->config->getAppValue('mobile_editing') ?: false,
'templates' => isset($collaboraCapabilities['hasTemplateSaveAs']) || isset($collaboraCapabilities['hasTemplateSource']) ?: false,
'productName' => $this->capabilitiesService->getProductName(),
'config' => [
Expand Down

0 comments on commit 3cbbca4

Please sign in to comment.