lib/model: Process download progress messages for all folder types (fixes #5131) (#5139)

This commit is contained in:
Jakob Borg 2018-08-21 19:49:35 +02:00 committed by Audrius Butkevicius
parent 165417c462
commit a02db70a63

View File

@ -1645,7 +1645,7 @@ func (m *Model) DownloadProgress(device protocol.DeviceID, folder string, update
cfg, ok := m.folderCfgs[folder]
m.fmut.RUnlock()
if !ok || cfg.Type == config.FolderTypeSendOnly || cfg.DisableTempIndexes || !cfg.SharedWith(device) {
if !ok || cfg.DisableTempIndexes || !cfg.SharedWith(device) {
return
}