mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
fix: flag indicators are added to wrong message when another message is selected while composing
This commit is contained in:
parent
fa15ff6ba4
commit
853727541f
1 changed files with 2 additions and 2 deletions
|
|
@ -500,10 +500,10 @@ export class ComposePopupView extends AbstractViewPopup {
|
||||||
'forward': '$forwarded'
|
'forward': '$forwarded'
|
||||||
}[this.aDraftInfo[0]];
|
}[this.aDraftInfo[0]];
|
||||||
if (flag) {
|
if (flag) {
|
||||||
const aFlags = MessageUserStore.message().flags();
|
const aFlags = oLastMessage.flags();
|
||||||
if (aFlags.indexOf(flag) === -1) {
|
if (aFlags.indexOf(flag) === -1) {
|
||||||
aFlags.push(flag);
|
aFlags.push(flag);
|
||||||
MessageUserStore.message().flags(aFlags);
|
oLastMessage.flags(aFlags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue