SyncEngine: Fix the "direction" of the "all file delted" message when the server...
authorOlivier Goffart <ogoffart@woboq.com>
Tue, 14 Aug 2018 07:19:31 +0000 (09:19 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:02 +0000 (10:58 +0100)
commit732069aaa77b3225239aa5fc74faa37a5b50aac2
tree3339588c2f185f2f89e91f9c7a12d251d12603b8
parentf6ca6493085bbcbbd6180c6056448446f9996ebe
SyncEngine: Fix the "direction" of the "all file delted" message when the server is reset

Using the direction of the "first" item is not enough as it might be a directory
which is a UPDATE_META_DATA,  or there can have been a few changes locally as well.

As reported on https://github.com/owncloud/client/issues/6317#issuecomment-412163113
src/libsync/syncengine.cpp
test/testallfilesdeleted.cpp