use QByteArray::left to send the newly received data during hydration
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Tue, 6 Aug 2024 14:39:41 +0000 (16:39 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Tue, 6 Aug 2024 16:17:04 +0000 (18:17 +0200)
commit8233b33d67f9f0a68c5d6aa951d64dd088d72ca2
tree10a08b19d898f69034841fd10a8c78d1816c1017
parent3fbab4c3e4368850e0e323a8ebd14ce68060e20f
use QByteArray::left to send the newly received data during hydration

we use the proper method from QByteArray to forward the data received by
GETFileJob to the socket connected to teh fetch data CfApi callback

Close https://github.com/nextcloud/desktop/issues/6769

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