(js) Refresh draft folder when saving new message
This commit is contained in:
parent
38963916aa
commit
f0ec431f30
|
@ -141,6 +141,12 @@
|
||||||
delete this.$mailbox.uidsMap[oldUID];
|
delete this.$mailbox.uidsMap[oldUID];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
// Refresh selected folder if it's the drafts mailbox
|
||||||
|
if (this.$mailbox.constructor.selectedFolder.type == 'draft') {
|
||||||
|
this.$mailbox.constructor.selectedFolder.$filter();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue