mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Do not require server replies to contain an mtime
The check was added for #6317 in commit
13eb64584f
.
We did see missing mtimes in replies in tests with live servers though.
Possibly those were old incomplete responses cached in the stat cache?
This commit is contained in:
parent
9401273daf
commit
f6ca649308
1 changed files with 0 additions and 2 deletions
|
@ -280,12 +280,10 @@ void DiscoverySingleDirectoryJob::directoryListingIteratedSlot(QString file, con
|
|||
int slash = file.lastIndexOf('/');
|
||||
result.name = file.mid(slash + 1);
|
||||
result.size = -1;
|
||||
result.modtime = -1;
|
||||
propertyMapToFileStat(map, result);
|
||||
if (result.isDirectory)
|
||||
result.size = 0;
|
||||
if (result.size == -1
|
||||
|| result.modtime == -1
|
||||
|| result.remotePerm.isNull()
|
||||
|| result.etag.isEmpty()
|
||||
|| result.fileId.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue