element-hq / element-hq/element-android

Allow message sender to suggest disabling URL previews

Open
#2,584 1 comment 4 reactions 0 assignees View on GitHub
A-URL-Previews T-Enhancement
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

It would be nice if the message sender could suggest whether or not to show URL previews. There could still be a way to force-show the preview if the user really wants it, but by default the sender's suggestion should be respected. Some bots send messages with lots of links and showing previews for any of them would unnecessarily fill up the room.

In practice, either [MSC2376](https://github.com/matrix-org/matrix-doc/pull/2376) or [MSC2385](https://github.com/matrix-org/matrix-doc/pull/2385) should be implemented for incoming messages, then maybe add some UI that users sending messages can use to disable the preview.

See also: https://github.com/vector-im/element-android/pull/2490#issuecomment-739926226

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.