Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1347 from SergeyMosin/reply-forward-indicators-fix
Browse files Browse the repository at this point in the history
fix: flag indicators are added to wrong message when another message is selected while composing
  • Loading branch information
the-djmaze authored Dec 6, 2023
2 parents 9675d03 + 8537275 commit a4724df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/View/Popup/Compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,10 +500,10 @@ export class ComposePopupView extends AbstractViewPopup {
'forward': '$forwarded'
}[this.aDraftInfo[0]];
if (flag) {
const aFlags = MessageUserStore.message().flags();
const aFlags = oLastMessage.flags();
if (aFlags.indexOf(flag) === -1) {
aFlags.push(flag);
MessageUserStore.message().flags(aFlags);
oLastMessage.flags(aFlags);
}
}
}
Expand Down

0 comments on commit a4724df

Please sign in to comment.