Recover from missing metadata on uploads
authorKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 9 Jul 2020 10:17:42 +0000 (12:17 +0200)
committerCamila <smayres@gmail.com>
Thu, 9 Jul 2020 14:22:54 +0000 (16:22 +0200)
commit26686ecd458b3f04c95ba410a2f1cc7ee707e6fb
tree0615211b39ab2e8df2be8e7538124dff3d2d683f
parent4ef42e53d33062d593aa8264264676796f7170ea
Recover from missing metadata on uploads

Other clients seem to allow creating empty encrypted folders with no
metadata associated to them, so let's get ready to handle it. In case of
a 404 to get the metadata, we create an empty metadata payload and pass
it further down.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/propagateuploadencrypted.cpp