Use updateLocals to ensure event generation

This commit is contained in:
Jakob Borg 2015-05-14 08:56:42 +02:00
parent f3fe6a6cbd
commit 947a129e12

View File

@ -1257,7 +1257,7 @@ nextSub:
l.Infof("Stopping folder %s mid-scan due to folder error: %s", folder, err)
return err
} else if len(batch) > 0 {
fs.Update(protocol.LocalDeviceID, batch)
m.updateLocals(folder, batch)
}
batch = batch[:0]