From be5f804d5b74ac3c4c05684c92b0dd3655461c71 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Fri, 22 Sep 2023 14:12:46 +0200 Subject: [PATCH] webmail: use the "threads: on" mode by default with "threads: unread", there is a bit too much change between different times of opening the mailbox. perhaps the mode wasn't a good idea... --- webmail/webmail.js | 2 +- webmail/webmail.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webmail/webmail.js b/webmail/webmail.js index 2d507e3..413d2f9 100644 --- a/webmail/webmail.js +++ b/webmail/webmail.js @@ -1088,7 +1088,7 @@ const defaultSettings = { mailboxCollapsed: {}, showAllHeaders: false, showHeaders: [], - threading: api.ThreadMode.ThreadUnread, + threading: api.ThreadMode.ThreadOn, checkConsistency: location.hostname === 'localhost', // Enable UI update consistency checks, default only for local development. }; const parseSettings = () => { diff --git a/webmail/webmail.ts b/webmail/webmail.ts index ebbdaf4..8759157 100644 --- a/webmail/webmail.ts +++ b/webmail/webmail.ts @@ -137,7 +137,7 @@ const defaultSettings = { mailboxCollapsed: {} as {[mailboxID: number]: boolean}, // Mailboxes that are collapsed. showAllHeaders: false, // Whether to show all message headers. showHeaders: [] as string[], // Additional message headers to show. - threading: api.ThreadMode.ThreadUnread, + threading: api.ThreadMode.ThreadOn, checkConsistency: location.hostname === 'localhost', // Enable UI update consistency checks, default only for local development. } const parseSettings = (): typeof defaultSettings => {