valid uri

This commit is contained in:
Mylloon 2024-01-31 00:20:37 +01:00
parent 9269ff12db
commit 0c26ed24de
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -41,7 +41,7 @@ pub fn export(courses: Vec<crate::timetable::models::Course>, filename: &mut Str
// Professor's name // Professor's name
if course.professor.is_some() { if course.professor.is_some() {
let name = course.professor.unwrap(); let name = course.professor.unwrap();
let mut contact = Attendee::new(format!("mailto:{name}")); let mut contact = Attendee::new("mailto:place@holder.com");
contact.add(CN::new(name)); contact.add(CN::new(name));
contact.add(PartStat::ACCEPTED); contact.add(PartStat::ACCEPTED);
contact.add(Role::CHAIR); contact.add(Role::CHAIR);