fix non-working admin room topic accessor output

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-07-23 22:36:06 -04:00
parent 100fc5e0f7
commit b13ea4ff45

View file

@ -64,6 +64,6 @@ async fn view_room_topic(_body: Vec<&str>, room_id: Box<RoomId>) -> Result<RoomM
};
Ok(RoomMessageEventContent::notice_markdown(format!(
"Room topic:\n\n```{room_topic}\n```"
"Room topic:\n```\n{room_topic}\n```"
)))
}