From f163cb65de1e0c96a85f139f2538612a4ed939fd Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 24 Apr 2021 18:01:08 +0100 Subject: [PATCH] AAAAAAAAAAAAA We should be setting message_id not message. --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/routes/channels/message_send.rs | 4 ++-- src/routes/root.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4aef0e43..612f5003 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2475,7 +2475,7 @@ dependencies = [ [[package]] name = "revolt" -version = "0.4.1-alpha.0" +version = "0.4.1-alpha.1" dependencies = [ "async-std", "async-tungstenite", diff --git a/Cargo.toml b/Cargo.toml index ab57cf57..0422bb74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "revolt" -version = "0.4.1-alpha.0" +version = "0.4.1-alpha.1" authors = ["Paul Makles "] edition = "2018" diff --git a/src/routes/channels/message_send.rs b/src/routes/channels/message_send.rs index 0cfa5f18..742f4764 100644 --- a/src/routes/channels/message_send.rs +++ b/src/routes/channels/message_send.rs @@ -68,7 +68,7 @@ pub async fn req(user: User, target: Ref, message: Json) -> Result) -> Result JsonValue { json!({ - "revolt": "0.4.1-alpha.0", + "revolt": "0.4.1-alpha.1", "features": { "registration": !*DISABLE_REGISTRATION, "captcha": {