Skip to content

Commit

Permalink
fix: incorrect work of viewer mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rivexe committed Apr 3, 2024
1 parent db00360 commit 6d77667
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions controller/editorapicontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6d77667

Please sign in to comment.