thunderbird/thunderbird-android
[ML 0.5/MVI.02.3] Implement LocalMessageUidPrefixProvider
已关闭
#10,511 创建于 2026年2月10日
good first issuetype: enhancement
仓库指标
- 星标
- (13,479 个星标)
- PR 合并指标
- (平均合并 7天 4小时) (30 天内合并 81 个 PR)
描述
Description
Implement the LocalMessageUidPrefixProvider logic to retrieve the system-wide prefix used for messages that have not yet been synced with the server.
Goal
Decouple the deletion logic from legacy global constants (like K9.LOCAL_UID_PREFIX), allowing for cleaner testing and dependency injection.
Acceptance Criteria
- Correctly identifies messages generated locally that do not yet have a server-assigned UID.
- Replace direct calls from
K9.LOCAL_UID_PREFIXto the newly createdLocalMessageUidPrefixProvider.get() - Testing: Unit tests verifying prefix detection across various message UID formats.