Skip to content

Commit

Permalink
Merge pull request #3158 from nextcloud/backport/3141/stable23
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr authored Aug 31, 2023
2 parents c28c42b + 7da90c7 commit 7af235d
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 @@ -115,7 +115,7 @@ public function getCapabilities() {
'mimetypes' => $filteredMimetypes,
'mimetypesNoDefaultOpen' => self::MIMETYPES_OPTIONAL,
'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 7af235d

Please sign in to comment.