async fn create_join_event( services: &Services, origin: &ServerName, room_id: &RoomId, pdu: &RawValue, omit_members: bool, ) -> Result<RoomState>