diff --git a/lib/model/indexhandler.go b/lib/model/indexhandler.go index 6ba8e34c7..4149721d0 100644 --- a/lib/model/indexhandler.go +++ b/lib/model/indexhandler.go @@ -489,14 +489,8 @@ func prepareFileInfoForIndex(f protocol.FileInfo) protocol.FileInfo { if f.IsReceiveOnlyChanged() { f.Version = protocol.Vector{} } - // The trailer with the encrypted fileinfo is device local, don't send info - // about that to remotes + // The trailer with the encrypted fileinfo is device local, announce the size without it to remotes. f.Size -= int64(f.EncryptionTrailerSize) - f.EncryptionTrailerSize = 0 - // never sent externally - f.LocalFlags = 0 - f.VersionHash = nil - f.InodeChangeNs = 0 return f }