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

Add a display for m.policy.rule.{user,room,server} #586

Merged
merged 7 commits into from
Jan 6, 2025

Conversation

nexy7574
Copy link
Contributor

@nexy7574 nexy7574 commented Jan 5, 2025

This PR simply adds a display for m.policy.rule.user, m.policy.rule.room, and m.policy.rule.server, similar to how m.room.server_acl is handled.

Demo:
image

This display only affects policy list rooms, such as https://matrix.to/#/#cme:nexy7574.co.uk.

web/src/ui/timeline/content/PolicyRuleBody.tsx Outdated Show resolved Hide resolved
web/src/ui/timeline/content/PolicyRuleBody.tsx Outdated Show resolved Hide resolved
web/src/ui/timeline/content/PolicyRuleBody.tsx Outdated Show resolved Hide resolved
@tulir tulir enabled auto-merge (squash) January 6, 2025 12:51
@tulir tulir merged commit bdc8237 into tulir:main Jan 6, 2025
2 checks passed
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.

2 participants