feat: Implement membership ban/join/leave/invite reason support

This commit is contained in:
Nyaaori 2022-12-21 11:45:12 +01:00
parent c86313d4fa
commit 7cc346bc18
No known key found for this signature in database
GPG key ID: E7819C3ED4D1F82E
2 changed files with 25 additions and 14 deletions

View file

@ -398,7 +398,7 @@ pub async fn create_room_route(
// 8. Events implied by invite (and TODO: invite_3pid)
drop(state_lock);
for user_id in &body.invite {
let _ = invite_helper(sender_user, user_id, &room_id, body.is_direct).await;
let _ = invite_helper(sender_user, user_id, &room_id, None, body.is_direct).await;
}
// Homeserver specific stuff