Per-room "Show link previews" toggle #493

Open
opened 2026-11-25 12:38:05 -05:00 by jared · 0 comments
Owner

Problem: link previews can only be turned on or off for every room at once (Settings → General: URL preview / URL preview in encrypted rooms). Rooms that post nothing but links, like World News RSS, fill the timeline with preview cards, and the only fix today is turning previews off everywhere.

Proposal: a per-room, per-user switch, "Show link previews", in that room's settings. It uses the standard Matrix room account data that Element already reads, so the choice syncs across devices and works in Element too:

// room account data, type org.matrix.room.preview_urls
{ "disable": true }

Behaviour:

  • The room's own setting, when there is one, decides for that room. Otherwise the global setting applies (the encrypted-room setting for encrypted rooms), as today.
  • Links stay normal clickable text; only the preview cards are hidden.
  • Covers the room timeline and threads in that room.
  • Affects only the user who sets it, not other members.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA

**Problem:** link previews can only be turned on or off for every room at once (Settings → General: *URL preview* / *URL preview in encrypted rooms*). Rooms that post nothing but links, like **World News RSS**, fill the timeline with preview cards, and the only fix today is turning previews off everywhere. **Proposal:** a per-room, per-user switch, "Show link previews", in that room's settings. It uses the standard Matrix room account data that Element already reads, so the choice syncs across devices and works in Element too: ```json // room account data, type org.matrix.room.preview_urls { "disable": true } ``` **Behaviour:** - The room's own setting, when there is one, decides for that room. Otherwise the global setting applies (the encrypted-room setting for encrypted rooms), as today. - Links stay normal clickable text; only the preview cards are hidden. - Covers the room timeline and threads in that room. - Affects only the user who sets it, not other members. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#493