mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-05 08:05:07 +00:00
* TF-5022 T-04 Keep delegated mail out of offline storage and delete local data when access ends * TF-5022 Extend AccountCacheClient in MemoryAccountCacheClient and drop unused imports in delegation tests * TF-5022 Read CacheAccountKey from the last username part, keep EndedDelegationStoreImpl content rows when file cleanup fails, match notification emailId exactly and remove delegated composer snapshots in logoutToSignInNewAccount * TF-5022 Guard sessionStorage access in EndedDelegationStoreImpl so blocked web storage no longer aborts logout or delegated cleanup * test(delegation): report unsent mail lost in a partially failed cleanup * TF-5022 Address review on cleanup counts, cache key order, Hive key scans and composer client lookup * test(delegation): check sign-in screens pass session origin to dashboard * test(caching): cover empty user, empty account and mismatched keys * test(delegation): cover read failure, nothing to delete and delegated writes * test(delegation): share no-cleanup asserts and count lost only after delete --------- Co-authored-by: Dang Dat <tddang@linagora.com> Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>