This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Allow spam checkers to override the error message #16259
Copy link
Copy link
Open
Labels
A-ModerationTools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...Tools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...O-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.Blocks non-critical functionality, workarounds exist.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.New features, changes in functionality, improvements in performance, or user-facing enhancements.
Description
Description:
For instance in user_may_join_room
It is currently possible to override the status code / error code but not the error message. It would be useful for plugin devs to specify to users trying to join a room why they were denied for the room and what they can do in order to be granted access.
Clients like Element can then then display that error message.
Metadata
Metadata
Assignees
Labels
A-ModerationTools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...Tools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...O-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.Blocks non-critical functionality, workarounds exist.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.New features, changes in functionality, improvements in performance, or user-facing enhancements.