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

Commit 8166bd5

Browse files
committed
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.
WIP: Applying feedback.
1 parent a376e60 commit 8166bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

changelog.d/12857.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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.
1+
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 commit comments

Comments
 (0)