Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement MSC4193 #522

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Implement MSC4193 #522

wants to merge 3 commits into from

Conversation

nexy7574
Copy link

@nexy7574 nexy7574 commented Nov 17, 2024

This PR aims to implement MSC4193 (m.spoiler) for media in Matrix.

Currently, this PR supports rendering blurred images and videos, with the html title set to the m.spoiler.reason, and the spoiler is removed on click.
It does not currently support sending spoilered media.
It would also be nice to have the spoiler reason somewhere more prominent. Perhaps a custom HTML tooltip that appears instantly rather than relying on the html title?

Screenshots:

video
image

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