lib/model: Integrate stat refs in folder (#5596)

This commit is contained in:
Simon Frei
2019-03-11 17:57:21 +01:00
committed by Audrius Butkevicius
parent 84fe285659
commit 289a02e994
3 changed files with 13 additions and 25 deletions

View File

@@ -1625,7 +1625,7 @@ func (f *sendReceiveFolder) dbUpdaterRoutine(dbUpdateChan <-chan dbUpdateJob) {
f.model.updateLocalsFromPulling(f.folderID, files)
if found {
f.model.receivedFile(f.folderID, lastFile)
f.ReceivedFile(lastFile.Name, lastFile.IsDeleted())
found = false
}