Filename as original

This commit is contained in:
Peter Papp
2021-06-18 17:23:40 +02:00
parent 24676e2392
commit f6f9199b87
8 changed files with 23 additions and 8 deletions

View File

@@ -402,7 +402,7 @@ class FileManagerService
'type' => get_file_type($file_mimetype),
'folder_id' => $request->folder_id,
'metadata' => $metadata,
'name' => $user_file_name,
'name' => $request->filename,
'basename' => $disk_file_name,
'author' => $shared ? 'visitor' : 'user',
'thumbnail' => $thumbnail,