require sender_user being in the reporting room for /report events
Matrix 1.8 change: https://spec.matrix.org/v1.9/client-server-api/#post_matrixclientv3roomsroomidreporteventid Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
efa6308172
commit
a85ebdeaa0
3 changed files with 17 additions and 3 deletions
|
@ -19,7 +19,7 @@ use register::RegistrationKind;
|
|||
|
||||
const RANDOM_USER_ID_LENGTH: usize = 10;
|
||||
|
||||
/// # `GET /_matrix/client/r0/register/available`
|
||||
/// # `GET /_matrix/client/v3/register/available`
|
||||
///
|
||||
/// Checks if a username is valid and available on this server.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue