mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-29 20:04:59 +08:00
fix(download): ignore non message deltas instead of erroring
This commit is contained in:
parent
2c1c1eb0bd
commit
ce7d731816
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ FileDownloadStore = Reflux.createStore
|
|||
|
||||
_newMailReceived: (incoming) ->
|
||||
if NylasEnv.config.get('core.attachments.downloadPolicy') is 'on-receive'
|
||||
return unless incoming['message']
|
||||
for message in incoming['message']
|
||||
for file in message.files
|
||||
@_fetch(file)
|
||||
|
|
Loading…
Reference in a new issue