mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 09:02:45 +08:00
Bugfix: this.moveCache is an Object not an Array
This commit is contained in:
parent
a12a3815f9
commit
dc233bfc90
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ class AppUser extends AbstractApp {
|
|||
const sTrashFolder = FolderStore.trashFolder(),
|
||||
sSpamFolder = FolderStore.spamFolder();
|
||||
|
||||
this.moveCache.forEach(item => {
|
||||
Object.values(this.moveCache).forEach(item => {
|
||||
const isSpam = sSpamFolder === item.To,
|
||||
isTrash = sTrashFolder === item.To,
|
||||
isHam = !isSpam && sSpamFolder === item.From && getFolderInboxName() === item.To;
|
||||
|
|
Loading…
Reference in a new issue