mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Recursive refresh of folders in full synchronization does not retrieve information about shares
This commit is contained in:
parent
1c5754ef51
commit
5d53f3c0ba
1 changed files with 2 additions and 5 deletions
|
@ -192,11 +192,8 @@ public class SynchronizeFolderOperation extends RemoteOperation {
|
|||
sendLocalBroadcast(EVENT_SINGLE_FOLDER_CONTENTS_SYNCED, mLocalFolder.getRemotePath(), result);
|
||||
}
|
||||
|
||||
if (result.isSuccess() && mIsShareSupported) {
|
||||
RemoteOperationResult shareResult = refreshSharesForFolder(client);
|
||||
if (shareResult.getCode() != ResultCode.FILE_NOT_FOUND) {
|
||||
result = shareResult;
|
||||
} // else , keep the previous result ; being conservative for servers where Sharing API is supported, but disabled
|
||||
if (result.isSuccess() && mIsShareSupported && !mSyncFullAccount) {
|
||||
refreshSharesForFolder(client); // share result is ignored
|
||||
}
|
||||
|
||||
if (!mSyncFullAccount) {
|
||||
|
|
Loading…
Reference in a new issue