diff --git a/src/mail_archive.rs b/src/mail_archive.rs index bf19929..38d7309 100644 --- a/src/mail_archive.rs +++ b/src/mail_archive.rs @@ -162,7 +162,7 @@ async fn handle_list( for room in rooms { for item in &items { let msg = - RoomMessageEventContent::text_markdown(format!("\\[{}\\] [{}]({}]", list.name, item.title, item.link)); + RoomMessageEventContent::text_markdown(format!("\\[{}\\] [{}]({})", list.name, item.title, item.link)); room.send(msg, None) .await .with_context(|| format!("Failed to send message to room '{}'", room.room_id()))?;