Skip to content

260811-ANDROID-Handle markdown preview DM - #343

Open
thanhlichncc wants to merge 1 commit into
mainfrom
update/handle-markdown-preview-DM
Open

260811-ANDROID-Handle markdown preview DM#343
thanhlichncc wants to merge 1 commit into
mainfrom
update/handle-markdown-preview-DM

Conversation

@thanhlichncc

Copy link
Copy Markdown
Contributor

issue: https://mello.mezon.vn/boards/ab1d77c0-6b09-4935-8aac-0441b8b38160/tickets/MEZON-51
Root cause: New previews and legacy Room cache could contain raw Markdown heading prefixes.
Solution: Normalize new previews in formatDirectMessagePreview() and normalize cached previews again before rendering in DialogCell.
Test cases:
Verify # alo12434 displays as alo12434.
Verify a cached # alo12434 preview displays as alo12434.
Verify newly received heading messages display without the heading prefix.
Verify #hashtag and normal previews remain unchanged.

@thanhlichncc thanhlichncc self-assigned this Aug 11, 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