Fix bad markdown in mail list link
All checks were successful
CI / CI (push) Successful in 7m52s

This commit is contained in:
Brian Tarricone 2023-09-24 12:07:35 -07:00
parent 2032b97f7c
commit fa67902c22

View File

@ -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()))?;