Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-08-17 20:36:59 +0300
committerJulius Härtl <jus@bitgrid.net>2019-08-27 19:43:25 +0300
commit4dacc685289e11e318a0b185ff3bf0672228b1b6 (patch)
tree639c2c104e779e54c1e0969a2a66e707e250087f /lib
parent2f8845483145c531bbce605c828b42902a013790 (diff)
Add todo for fetching file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/WopiController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Controller/WopiController.php b/lib/Controller/WopiController.php
index 7af322e0..86f104fd 100644
--- a/lib/Controller/WopiController.php
+++ b/lib/Controller/WopiController.php
@@ -291,6 +291,7 @@ class WopiController extends Controller {
}
// Unless the editor is empty (public link) we modify the files as the current editor
+ // TODO: properly access the file though the share token for remote files
$editor = $wopi->getEditorUid();
if ($editor === null || $wopi->getRemoteServer() !== '') {
$editor = $wopi->getOwnerUid();