mirror of https://github.com/watcha-fr/synapse
Make room creations denied by `user_may_create_room` cause an `M_FORBIDDEN` error to be returned, not `M_UNKNOWN` (#11672)
Co-authored-by: reivilibre <olivier@librepush.net>code_spécifique_watcha
parent
c9eb678b73
commit
2ef1fea8d2
@ -0,0 +1 @@ |
||||
Return an `M_FORBIDDEN` error code instead of `M_UNKNOWN` when a spam checker module prevents a user from creating a room. |
Loading…
Reference in new issue