From 8ac178c7d5196e778510611e93f66710b63dca42 Mon Sep 17 00:00:00 2001 From: Ben Bucksch Date: Thu, 23 Jan 2025 01:24:54 +0100 Subject: [PATCH] JMAP: EMail: Default to read --- app/logic/Mail/JMAP/JMAPEMail.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/logic/Mail/JMAP/JMAPEMail.ts b/app/logic/Mail/JMAP/JMAPEMail.ts index 53aa53af..4026185d 100644 --- a/app/logic/Mail/JMAP/JMAPEMail.ts +++ b/app/logic/Mail/JMAP/JMAPEMail.ts @@ -56,8 +56,8 @@ export class JMAPEMail extends EMail { return; } // - 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);