thunderbird/thunderbird-android

[ML 0.5/MVI.02.3] Implement LocalMessageUidPrefixProvider

Open

#10,511 创建于 2026年2月10日

在 GitHub 查看
 (7 评论) (0 反应) (1 负责人)Kotlin (13,479 star) (2,734 fork)batch import
good first issuetype: enhancement

描述

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_PREFIX to the newly created LocalMessageUidPrefixProvider.get()
  • Testing: Unit tests verifying prefix detection across various message UID formats.

贡献者指南

[ML 0.5/MVI.02.3] Implement LocalMessageUidPrefixProvider · thunderbird/thunderbird-android#10511 | Good First Issue