Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Port spam-checker API callbacks user_may_join_room, `user_may_invit…
Browse files Browse the repository at this point in the history
…e`, `user_may_send_3pid_invite`, `user_may_create_room`, `user_may_create_room_alias`, `user_may_publish_room`, `check_media_file_for_spam` to more powerful and less ambiguous `Union[Literal["NOT_SPAM"], Codes]`. This is a followup to #12703, #12808, #12846 and builds towards giving the spam-checker API the ability to inform users of *why* their event or operation has been rejected.

WIP: Applying feedback.
  • Loading branch information
Yoric committed Jun 6, 2022
1 parent a376e60 commit 8166bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changelog.d/12857.feature
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Port spam-checker API callbacks `user_may_join_room`, `user_may_invite`, `user_may_send_3pid_invite`, `user_may_create_room`, `user_may_create_room_alias`, `user_may_publish_room`, `check_media_file_for_spam` to more powerful and less ambiguous `Union[Literal["NOT_SPAM"], Codes]`. This is a followup to #12703, #12808, #12846 and builds towards giving the spam-checker API the ability to inform users of *why* their event or operation has been rejected.
Port spam-checker API callbacks to a new, richer API. This is part of an ongoing change to let spam-checker modules inform users of *why* their event or operation has been rejected.

0 comments on commit 8166bd5

Please sign in to comment.