Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5de066f6 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

Merge branch '942-prevent-timestamp-change' into 'main'

use remote file's last modified value for downloaded file

See merge request !209
parents 72458c1a 82722814
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -137,6 +137,7 @@ public class DownloadFileOperation extends RemoteOperation {
            return FORBIDDEN;
        }

        targetFile.setLastModified(remoteFile.getModifiedTimestamp());
        syncedFileState.setLocalLastModified(targetFile.lastModified())
                .setLastETAG(remoteFile.getEtag());