diff --git a/src/ics.rs b/src/ics.rs index b2baaf4..b897589 100644 --- a/src/ics.rs +++ b/src/ics.rs @@ -40,7 +40,9 @@ pub fn export(courses: Vec, filename: &mut Str // Professor's name if course.professor.is_some() { - event.push(Attendee::new(course.professor.unwrap())); + event.push(Attendee::new( + "mailto:".to_owned() + &course.professor.unwrap(), + )); } // Start time of the course