Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
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

@gabrc52

Description

@gabrc52

Description:

For instance in user_may_join_room

image

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

No one assigned

    Labels

    A-ModerationTools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...O-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions