lock token should be sent via webdav only for token lock type
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 25 Sep 2024 15:20:59 +0000 (17:20 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 26 Sep 2024 08:56:47 +0000 (08:56 +0000)
commitd011a0f93aa71b3dd131fcd717cac892b8a2beb6
tree02b663946287f285d024fc084ff232bb544da009
parent59568ad29d09ae27d82a69aaf8d19bd581df646f
lock token should be sent via webdav only for token lock type

to be able to modify a locked file using token lock, we must sent it
with webdav requests

this must not be sent if the file is locked but the lock type is not a
token lock

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/propagateuploadng.cpp
src/libsync/propagateuploadv1.cpp