diff options
author | Sergey Suprunenko <suprunenko.s@gmail.com> | 2019-06-26 10:59:27 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2019-06-26 10:59:27 +0000 |
commit | d53fb55bb76e06ca71a2d46fb6ce8c7d3e1494b0 (patch) | |
tree | f1f602cc5ac0eecb22f397f5562338cfe01c6fab /lib | |
parent | 24bcc209f9c07c606dda083ff7f8b24ad3606eef (diff) | |
download | pleroma-d53fb55bb76e06ca71a2d46fb6ce8c7d3e1494b0.tar.gz |
Return correct response when reply to a direct message is not direct itself
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/common_api/common_api.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index 42b78494d..f8df1e2ea 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -247,6 +247,7 @@ defmodule Pleroma.Web.CommonAPI do res else + {:private_to_public, true} -> {:error, "The message visibility must be direct"} {:error, _} = e -> e e -> {:error, e} end |