From 6d7766785fb0384248f5fa7f1da3224865dbd8e2 Mon Sep 17 00:00:00 2001 From: rivexe Date: Wed, 3 Apr 2024 19:49:45 +0300 Subject: [PATCH] fix: incorrect work of viewer mode --- controller/editorapicontroller.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/controller/editorapicontroller.php b/controller/editorapicontroller.php index 3e4a4fa4..1676cc5f 100644 --- a/controller/editorapicontroller.php +++ b/controller/editorapicontroller.php @@ -317,11 +317,6 @@ public function config($fileId, $filePath = null, $shareToken = null, $version = $fileStorage = $file->getStorage(); if (empty($shareToken) && $fileStorage->instanceOfStorage("\OCA\Files_Sharing\SharedStorage")) { - $params["editorConfig"]["coEditing"] = [ - "mode" => "strict", - "change" => false - ]; - $storageShare = $fileStorage->getShare(); if (method_exists($storageShare, "getAttributes")) { $attributes = $storageShare->getAttributes();