use markdown for list-database-files command

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-16 23:09:54 +00:00
parent 50ce87161b
commit 1ccdba8921
2 changed files with 5 additions and 2 deletions

View file

@ -95,7 +95,8 @@ pub(super) async fn list_database_files(_body: Vec<&str>) -> Result<RoomMessageE
}
let result = services().globals.db.file_list()?;
Ok(RoomMessageEventContent::notice_html(String::new(), result))
Ok(RoomMessageEventContent::notice_markdown(result))
}
pub(super) async fn admin_notice(_body: Vec<&str>, message: Vec<String>) -> Result<RoomMessageEventContent> {