add admin command for admin room notices

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-16 02:10:47 +00:00
parent 3d3d63fdf4
commit 483f0a9c86
3 changed files with 16 additions and 1 deletions

View file

@ -92,7 +92,7 @@ impl Service {
}
pub async fn send_text(&self, body: &str) {
self.send_message(RoomMessageEventContent::text_plain(body))
self.send_message(RoomMessageEventContent::text_markdown(body))
.await;
}