fix non-working admin room topic accessor output
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
100fc5e0f7
commit
b13ea4ff45
1 changed files with 1 additions and 1 deletions
|
@ -64,6 +64,6 @@ async fn view_room_topic(_body: Vec<&str>, room_id: Box<RoomId>) -> Result<RoomM
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(RoomMessageEventContent::notice_markdown(format!(
|
Ok(RoomMessageEventContent::notice_markdown(format!(
|
||||||
"Room topic:\n\n```{room_topic}\n```"
|
"Room topic:\n```\n{room_topic}\n```"
|
||||||
)))
|
)))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue