1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-10 10:00:49 +09:00

Needs sync fix

This commit is contained in:
mcrakhman 2023-12-01 22:28:13 +01:00
parent 847747f8b8
commit a24e91aecd
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B

View file

@ -50,9 +50,9 @@ func (r *remote) DiffTypeCheck(ctx context.Context, diffContainer ldiff.DiffCont
return false, err
}
if len(resp.Results) != 0 && bytes.Equal(hashB, resp.Results[0].Hash) {
return true, nil
return false, nil
}
return false, nil
return true, nil
}
r.diffType = resp.DiffType
switch resp.DiffType {