send plain txt admin room error responses
fixes bracketed arguments not showing up on missing args Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -157,10 +157,7 @@ fn parse<'a>(
|
||||
let message = error
|
||||
.to_string()
|
||||
.replace("server.name", services.globals.server_name().as_str());
|
||||
Err(reply(
|
||||
RoomMessageEventContent::notice_markdown(message),
|
||||
input.reply_id.as_deref(),
|
||||
))
|
||||
Err(reply(RoomMessageEventContent::notice_plain(message), input.reply_id.as_deref()))
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user