when updating a virtual file after lock/unlock: avoid setting modtime
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Tue, 26 Nov 2024 17:12:36 +0000 (18:12 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 29 Nov 2024 08:24:22 +0000 (09:24 +0100)
commit42cae2c5f1c02c63d3ff42c665c734dc6d0bedc1
treea0a0f4b8c631725f7dd5db7ed96181953aaa14f5
parent7a41a5648b26a2b2567b9f5b44419085e62e1627
when updating a virtual file after lock/unlock: avoid setting modtime

will prevent truncating the modification time when changing the lock
state of a file

could be visible when using an office software to open an office file
with automated locking happening after the file gets opened

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/gui/folder.cpp