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
1 changed files with 1 additions and 1 deletions

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
}