IMAP UID is integer

This commit is contained in:
djmaze 2021-09-10 16:28:29 +02:00
parent 9ffc90946c
commit 96e2e6576c
20 changed files with 124 additions and 139 deletions

View file

@ -170,7 +170,7 @@ class ComposePopupView extends AbstractViewPopup {
showReplyTo: false,
draftFolder: '',
draftUid: '',
draftUid: 0,
sending: false,
saving: false,
@ -465,7 +465,7 @@ class ComposePopupView extends AbstractViewPopup {
if (this.bFromDraft) {
const message = MessageUserStore.message();
if (message && this.draftFolder() === message.folder && this.draftUid() === message.uid) {
if (message && this.draftFolder() === message.folder && this.draftUid() == message.uid) {
MessageUserStore.message(null);
}
}
@ -1449,7 +1449,7 @@ class ComposePopupView extends AbstractViewPopup {
this.dragAndDropVisible(false);
this.draftFolder('');
this.draftUid('');
this.draftUid(0);
this.sending(false);
this.saving(false);