thunderbird/thunderbird-android

[ML 0.5/MVI.02.3] Implement LocalMessageUidPrefixProvider

クローズ

#10,511 opened on 2026/02/10

 (7 件のコメント) (0 件のリアクション) (1 人の担当者)Kotlin (2,734 件のフォーク)batch import
good first issuetype: enhancement

Repository metrics

Stars
 (13,479 個のスター)
PR merge metrics
 (平均マージ 7d 4h) (30d で 81 merged PRs)

説明

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.

コントリビューターガイド