diff --git a/lib/Capabilities.php b/lib/Capabilities.php index e3ad04a21e..af9cd4c565 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -128,7 +128,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' => [