diff --git a/lib/Service/ExFilesActionsMenuService.php b/lib/Service/ExFilesActionsMenuService.php index b00bc243..6df01b31 100644 --- a/lib/Service/ExFilesActionsMenuService.php +++ b/lib/Service/ExFilesActionsMenuService.php @@ -154,6 +154,7 @@ public function handleFileAction(string $userId, string $appId, string $fileActi 'etag' => $actionFile['etag'], 'mime' => $actionFile['mime'], 'fileType' => $actionFile['fileType'], + 'mtime' => $actionFile['mtime'], 'contentLength' => $actionFile['contentLength'], 'favorite' => $actionFile['favorite'] ?? "false", 'permissions' => $actionFile['permissions'] diff --git a/src/filesplugin.js b/src/filesplugin.js index bb9e8a9e..b01d5410 100644 --- a/src/filesplugin.js +++ b/src/filesplugin.js @@ -35,6 +35,7 @@ state.fileActions.forEach(fileAction => { permissions: file.dataset.permissions, fileType: file.dataset.type, contentLength: file.dataset.size, + mtime: file.dataset.mtime, }, }).then((response) => { console.debug('response', response)