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:
parent
b87362cbf1
commit
2675033aac
1 changed files with 1 additions and 4 deletions
|
@ -157,10 +157,7 @@ fn parse<'a>(
|
||||||
let message = error
|
let message = error
|
||||||
.to_string()
|
.to_string()
|
||||||
.replace("server.name", services.globals.server_name().as_str());
|
.replace("server.name", services.globals.server_name().as_str());
|
||||||
Err(reply(
|
Err(reply(RoomMessageEventContent::notice_plain(message), input.reply_id.as_deref()))
|
||||||
RoomMessageEventContent::notice_markdown(message),
|
|
||||||
input.reply_id.as_deref(),
|
|
||||||
))
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue