Properly register folder as encrypted during sync
authorKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 9 Jul 2020 10:56:19 +0000 (12:56 +0200)
committerCamila <smayres@gmail.com>
Thu, 9 Jul 2020 15:16:21 +0000 (17:16 +0200)
commit3ccac1b1beab1e3d8416380f170fe575bf06b192
treed62c2599843fe96cafe2e356f8754182a70b9d7c
parent26686ecd458b3f04c95ba410a2f1cc7ee707e6fb
Properly register folder as encrypted during sync

Turns out that when we added a new e2e folder during sync, we were
passing the wrong path to the e2e object. We have several path
convention in the sync code, just happened to be the wrong one.

I still long for the day when we'll use the type system to deal with
paths. All those strings are error-prone.

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