Files
amethyst/commonsUI
Claude 0d00722553 fix(nip17): treat text-less renames as system rows in grouping, previews and notifications
A rename that carries only a subject now renders as a system line, but the
rest of the app still treated it as a regular message:

- Grouping: the author's next message joined the rename's run, so it lost
  its author line in groups and drew a squared top corner against the
  pill. Renames no longer join author runs.
- Room list: the preview read "You: " or nothing. It now says who renamed
  the conversation and to what (ChatPreview.SubjectChange).
- Notifications: a received rename posted an empty body. It now reads
  "Renamed the conversation to X".
- The feed gives rename rows their own LazyColumn content type, so slots
  aren't recycled between the pill and the bubble layout.

The predicate moves to commons (isSubjectOnlyChatMessage) so all of these
share it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TMJHLxbswamX91WDaPT2uR
2026-10-01 23:22:57 +00:00
..