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)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 26 Sep 2024 07:25:34 +0000 (09:25 +0200)
commitc77562022d05d3b3755e2155e62497e3f7b07c06
tree937a66d32c065022eacc2e90dfd123e350caad40
parent202be8a08130048f2da6cc2ad82fe77668c86b94
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