This commit is contained in:
parent
2032b97f7c
commit
fa67902c22
@ -162,7 +162,7 @@ async fn handle_list(
|
|||||||
for room in rooms {
|
for room in rooms {
|
||||||
for item in &items {
|
for item in &items {
|
||||||
let msg =
|
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)
|
room.send(msg, None)
|
||||||
.await
|
.await
|
||||||
.with_context(|| format!("Failed to send message to room '{}'", room.room_id()))?;
|
.with_context(|| format!("Failed to send message to room '{}'", room.room_id()))?;
|
||||||
|
Loading…
Reference in New Issue
Block a user