mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 02:58:00 +00:00
Improved mailboxes to include sent mails and drafts (#1038)
This commit is contained in:
1 parent
67d44588d4
commit
5c319c45a0
31 files changed
+792
-103
No files matched your search
@@ -381,7 +381,8 @@ public sealed class MailboxRetrievalService(SettingsManager settingsManager, Dat
|
||||
continue;
|
||||
|
||||
var inReplyToMailId = await indexStore.FindMailByMessageIdAsync(mailbox.Id, mail.InReplyTo, token);
|
||||
return new(mailbox, summaries[0], mail, inReplyToMailId == mailId ? null : inReplyToMailId);
|
||||
var folders = await indexStore.GetMailFoldersAsync(mailbox.Id, token);
|
||||
return new(mailbox, summaries[0], mail, inReplyToMailId == mailId ? null : inReplyToMailId, folders);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user