Added: allow setting the supported THREAD algorithm

This commit is contained in:
the-djmaze 2024-03-26 15:01:38 +01:00
parent 015dcbdc41
commit 57fbdf8795
48 changed files with 341 additions and 264 deletions

View file

@ -313,6 +313,7 @@ MessagelistUserStore.reload = (bDropPagePosition = false, bDropCurrentFolderCach
if (AppUserStore.threadsAllowed() && SettingsUserStore.useThreads()) {
params.useThreads = 1;
params.threadAlgorithm = SettingsUserStore.threadAlgorithm();
params.threadUid = MessagelistUserStore.threadUid();
} else {
params.threadUid = 0;

View file

@ -29,6 +29,7 @@ export const SettingsUserStore = new class {
showNextMessage: 0,
allowDraftAutosave: 1,
useThreads: 0,
threadAlgorithm: '',
replySameFolder: 0,
hideUnsubscribed: 0,
hideDeleted: 1,
@ -99,7 +100,8 @@ export const SettingsUserStore = new class {
'listGrouped',
'showNextMessage',
'AllowDraftAutosave',
'UseThreads',
'useThreads',
'threadAlgorithm',
'ReplySameFolder',
'HideUnsubscribed',
'HideDeleted',