Fixing single threads for API threading strategy.

This commit is contained in:
Burak Kaan Köse
2024-08-29 23:43:49 +02:00
parent 3016f70349
commit 8db34289a7
5 changed files with 47 additions and 10 deletions

View File

@@ -241,7 +241,7 @@ namespace Wino.Core.Services
// Only thread items from Draft and Sent folders must present here.
// Otherwise this strategy will fetch the items that are in Deleted folder as well.
var accountThreadedItems = await threadingStrategy.ThreadItemsAsync([.. group]);
var accountThreadedItems = await threadingStrategy.ThreadItemsAsync([.. group], options.Folders.First());
// Populate threaded items with folder and account assignments.
// Almost everything already should be in cache from initial population.