Skip to content
Snippets Groups Projects
Commit be4f1ea8 authored by uhensler's avatar uhensler
Browse files

OO-4190: Use the last modify of the file to create the document key (patch S. Clemenz)

parent b93a7c0a
No related branches found
No related tags found
No related merge requests found
...@@ -206,7 +206,7 @@ public class OnlyOfficeServiceImpl implements OnlyOfficeService { ...@@ -206,7 +206,7 @@ public class OnlyOfficeServiceImpl implements OnlyOfficeService {
} }
private String getDocumentKey(VFSMetadata metadata) { private String getDocumentKey(VFSMetadata metadata) {
String lastModified = LAST_MODIFIED.format(metadata.getLastModified()); String lastModified = LAST_MODIFIED.format(metadata.getFileLastModified());
return metadata.getUuid() + "-" + lastModified; return metadata.getUuid() + "-" + lastModified;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment