From 71a47096b1b035a63ee23fa00ef2acabf21a4ffe Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 30 Jan 2024 15:46:05 +0100 Subject: [PATCH] fix contact --- src/ics.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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