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

Use spoilers when mentioning targets of a rule #559

Merged
merged 4 commits into from
Nov 22, 2024
Merged

Use spoilers when mentioning targets of a rule #559

merged 4 commits into from
Nov 22, 2024

Conversation

H-Shay
Copy link
Contributor

@H-Shay H-Shay commented Oct 30, 2024

fixes #73

@H-Shay H-Shay requested a review from a team as a code owner October 30, 2024 21:02
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise lgtm - thanks!

msgtype: "m.text",
body: `Applying ACL in ${roomId}.`,
format: "org.matrix.custom.html",
formatted_body: `Applying ACL in <span data-mx-spoiler>${roomId}</span>.`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we'll need to escape HTML in all these spoilers. There should already be a function for it, somewhere.

@H-Shay H-Shay requested a review from turt2live November 22, 2024 16:57
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@H-Shay H-Shay merged commit f2ca79c into main Nov 22, 2024
5 checks passed
@H-Shay H-Shay deleted the shay/spoiler branch November 22, 2024 22:18
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.

Use spoilers when mentioning targets of a rule
2 participants