use markdown for list-database-files command
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
50ce87161b
commit
1ccdba8921
2 changed files with 5 additions and 2 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue