Don't treat new folders in unpinned folders as files to dehydrate
authorKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 26 Jan 2021 16:50:04 +0000 (17:50 +0100)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Tue, 26 Jan 2021 17:09:24 +0000 (17:09 +0000)
commitebfe51b7e7b943cb220217222a4d1df7097fb314
tree1e0d733a5f1f30109893d694fb7a64f8b8d67b72
parentd119fc47490535b577bbfaca88a9fabcd8bbaa50
Don't treat new folders in unpinned folders as files to dehydrate

This would only happen if the parent of the newly created folder would
be explicitly set to online only, hence why it went under the radar
previously.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/vfs/cfapi/vfs_cfapi.cpp
test/testsynccfapi.cpp