From fa67902c226ec145a969167faced02cc67329717 Mon Sep 17 00:00:00 2001 From: "Brian J. Tarricone" Date: Sun, 24 Sep 2023 12:07:35 -0700 Subject: [PATCH] Fix bad markdown in mail list link --- src/mail_archive.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()))?;