Skip to content

260708-ANDROID-Fix miss preview msg DM after relogin#308

Open
thanhlichncc wants to merge 1 commit into
mainfrom
fix/miss-preview-relogin
Open

260708-ANDROID-Fix miss preview msg DM after relogin#308
thanhlichncc wants to merge 1 commit into
mainfrom
fix/miss-preview-relogin

Conversation

@thanhlichncc

Copy link
Copy Markdown
Contributor

issue: https://mello.mezon.vn/boards/ab1d77c0-6b09-4935-8aac-0441b8b38160/tickets/MEZON-27
Root cause: Android did not infer attachment-only messages from a valid last-message header when attachment metadata was unavailable after re-login.
Solution: Added the same fallback as iOS to display [File] for attachment-only messages and [Embed] for empty embed messages.
Test cases:
Verify attachment-only DMs show [File] after re-login.
Verify empty embed DMs show [Embed] after re-login.
Verify text messages keep their original preview.
Verify invalid or incomplete headers do not show [File].
Verify realtime DM previews remain unchanged.

@thanhlichncc thanhlichncc requested a review from huylexuan44 July 8, 2026 07:24
@thanhlichncc thanhlichncc self-assigned this Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant