summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/operations/chat_operation.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-09-17 19:09:10 +0000
committerrinpatch <rinpatch@sdf.org>2020-09-17 19:09:10 +0000
commita0f5e8b27edbe2224d9c2c3997ad5b8ea484244b (patch)
tree4a7a0f02e5880b7dff3ac20eaf59d71c7b584e5e /lib/pleroma/web/api_spec/operations/chat_operation.ex
parent425324aae3d4534bc045466a1cc15653ddfa27d2 (diff)
parent34afc2b0745b39861d9381e69cdb4b9c158f86ee (diff)
Merge branch 'release/2.1.2' into 'stable'v2.1.2
Release/2.1.2 See merge request pleroma/secteam/pleroma!17
Diffstat (limited to 'lib/pleroma/web/api_spec/operations/chat_operation.ex')
-rw-r--r--lib/pleroma/web/api_spec/operations/chat_operation.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/api_spec/operations/chat_operation.ex b/lib/pleroma/web/api_spec/operations/chat_operation.ex
index b1a0d26ab..56554d5b4 100644
--- a/lib/pleroma/web/api_spec/operations/chat_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/chat_operation.ex
@@ -184,7 +184,8 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation do
"application/json",
ChatMessage
),
- 400 => Operation.response("Bad Request", "application/json", ApiError)
+ 400 => Operation.response("Bad Request", "application/json", ApiError),
+ 422 => Operation.response("MRF Rejection", "application/json", ApiError)
},
security: [
%{