Merge remote-tracking branch 'origin/main' into fix-518

This commit is contained in:
Thomas SharedInbox
2026-06-07 03:16:43 +02:00
2 changed files with 3 additions and 0 deletions
@@ -3101,6 +3101,8 @@ class EmailRepositoryImpl implements EmailRepository {
}
@override
// Results are limited to emails already synced into the local SQLite FTS5
// index; call syncEmails first to ensure the index is up-to-date.
Future<List<model.Email>> searchEmails(
String accountId,
String mailboxPath,
@@ -433,6 +433,7 @@ void main() {
final r = makeRepo();
await r.accounts.addAccount(account, userPass);
await r.emails.syncEmails('test', 'INBOX');
final results = await r.emails.searchEmails(
'test',