diff --git a/src/api/client_server/membership.rs b/src/api/client_server/membership.rs index 079887b4..9e30d0e9 100644 --- a/src/api/client_server/membership.rs +++ b/src/api/client_server/membership.rs @@ -310,6 +310,7 @@ pub async fn ban_user_route(body: Ruma) -> Result) -> Result) -> Re event_type: TimelineEventType::RoomMember, content: to_raw_value(&RoomMemberEventContent { avatar_url: body.avatar_url.clone(), + join_authorized_via_users_server: None, ..serde_json::from_str( services() .rooms