slight inclusive wording changes
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
b079b94715
commit
16572a868a
4 changed files with 7 additions and 7 deletions
|
@ -1540,7 +1540,7 @@ pub async fn create_invite_route(body: Ruma<create_invite::v2::Request>) -> Resu
|
|||
let mut event: JsonObject = serde_json::from_str(body.event.get())
|
||||
.map_err(|_| Error::BadRequest(ErrorKind::InvalidParam, "Invalid invite event bytes."))?;
|
||||
|
||||
event.insert("event_id".to_owned(), "$dummy".into());
|
||||
event.insert("event_id".to_owned(), "$placeholder".into());
|
||||
|
||||
let pdu: PduEvent = serde_json::from_value(event.into()).map_err(|e| {
|
||||
warn!("Invalid invite event: {}", e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue