Changeset 7e66e7e in Klonkt for src/config

Timestamp:
06/27/2026 12:04:44 AM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
ace5a9b
Parents:
0a75356
Message:

feat(fedi): hide the leading @mention in displayed comments

A federated reply carries a leading @user@domain mention (the person replied to).
Strip it for display (Mastodon does the same) so a comment reads 'dope tekening ouwe'
not '@jason@… dope …'. Applied to inbound + outbound reply nodes, the
My-replies list, and the notifications preview. stripLeadingMentions keeps the <p>
wrapper and handles both <a>mention</a> links and plain-text mentions.

(No files)

Note: See TracChangeset for help on using the changeset viewer.