TF-1808: Add StoreOpenedEmailToCacheInteractor to store email when opened

(cherry picked from commit 45a59e33358caba1d5e191f8c4f9b2a0ecee9342)
This commit is contained in:
HuyNguyen
2023-05-11 14:06:42 +07:00
committed by Dat Vu
parent 8bbc770881
commit a5dbcb1357
4 changed files with 48 additions and 0 deletions
@@ -198,4 +198,9 @@ class EmailRepositoryImpl extends EmailRepository {
Future<void> storeEmailToCache(Session session, AccountId accountId, Email email) {
return emailDataSource[DataSourceType.hiveCache]!.storeEmail(session, accountId, email);
}
@override
Future<void> storeOpenedEmailToCache(Session session, AccountId accountId, DetailedEmail detailedEmail) {
throw UnimplementedError();
}
}