diff --git a/lib/Capabilities.php b/lib/Capabilities.php index c03317e35e..9a28b23ec5 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -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' => [