Merge branch 'revoltchat:master' into patch-1

This commit is contained in:
Marie authored and GitHub committed 2021-09-18 21:15:49 +02:00
commit 39a759396f
5 files changed
+60 -78

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ lazy_static! {
}
#[post("/<target>/messages", data = "<message>")]
pub async fn message_send(_r: Ratelimiter, user: User, target: Ref, message: Json<Data>) -> Result<RatelimitResponse<Value>> {
pub async fn message_send(user: User, _r: Ratelimiter, target: Ref, message: Json<Data>) -> Result<RatelimitResponse<Value>> {
let message = message.into_inner();
message
.validate()