Discovery: consider also the "shared by me" as shared
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 14 Nov 2016 17:47:58 +0000 (18:47 +0100)
committerOlivier Goffart <olivier@woboq.com>
Tue, 15 Nov 2016 13:32:20 +0000 (14:32 +0100)
commit2d6e473a4044ea4cadd3cf1d043a447790b87222
treed132306b961de920b713a66e839bf831476868a7
parent2723cd225ecd41847a40b8895169e64d403d8162
Discovery: consider also the "shared by me" as shared

The "S" in the permission is only for the "Shared with me" files.
It is only used to show the shared status in the overlay icons.
But we also wish to show the shared status for files that are shared
"by" the users. We can find that out using the 'share-types' webdav
property. If set, then we are sharing the object.
We fake a 'S' in the permission as for our purpose, they mean the same.

Issue #4788
src/libsync/discoveryphase.cpp
test/syncenginetestutils.h
test/testsyncfilestatustracker.cpp