Skip to content

Commit

Permalink
JMAP: EMail: Default to read
Browse files Browse the repository at this point in the history
  • Loading branch information
benbucksch committed Jan 23, 2025
1 parent 76d3ce1 commit 8ac178c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/logic/Mail/JMAP/JMAPEMail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export class JMAPEMail extends EMail {
return;
}
// <https://www.rfc-editor.org/rfc/rfc8621.html#section-4.1.1>
this.isRead = sanitize.boolean(flags["$seen"], false);
// isNewArrived not supported
// isNewArrived not supported
this.isRead = sanitize.boolean(flags["$seen"], true);
this.isStarred = sanitize.boolean(flags["$flagged"], false);
this.isReplied = sanitize.boolean(flags["$answered"], false);
this.isDraft = sanitize.boolean(flags["$draft"], false);
Expand Down

0 comments on commit 8ac178c

Please sign in to comment.