mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
Fix backwards logic preventing thread creation!
This commit is contained in:
parent
a1419a65a5
commit
4d4a4cec32
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ class FetchMessagesInFolder {
|
|||
|
||||
Message.find({where: {hash}})
|
||||
.then((existing) => {
|
||||
created = existing != null;
|
||||
created = !existing;
|
||||
return existing ? existing.update(values) : Message.create(values);
|
||||
})
|
||||
.then((message) =>
|
||||
|
|
Loading…
Reference in a new issue