aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/common_api/utils.ex
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-08-07 14:55:22 -0500
committerMark Felder <feld@FreeBSD.org>2020-08-07 14:55:22 -0500
commit54e2af829377b3f21823548e5612bbbb41550432 (patch)
tree0ad164ee09bba1a82560d192d71d14033f70b195 /lib/pleroma/web/common_api/utils.ex
parent474147a67a89f8bd92186dbda93d78d8e2045d52 (diff)
parent39ca4a23c6c4a6cac9b277b8473ab9040a250e68 (diff)
downloadpleroma-54e2af829377b3f21823548e5612bbbb41550432.tar.gz
Merge branch 'develop' into fix/ldap-auth-issues
Diffstat (limited to 'lib/pleroma/web/common_api/utils.ex')
-rw-r--r--lib/pleroma/web/common_api/utils.ex11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex
index 9c38b73eb..9d7b24eb2 100644
--- a/lib/pleroma/web/common_api/utils.ex
+++ b/lib/pleroma/web/common_api/utils.ex
@@ -548,17 +548,6 @@ defmodule Pleroma.Web.CommonAPI.Utils do
end
end
- def make_answer_data(%User{ap_id: ap_id}, object, name) do
- %{
- "type" => "Answer",
- "actor" => ap_id,
- "cc" => [object.data["actor"]],
- "to" => [],
- "name" => name,
- "inReplyTo" => object.data["id"]
- }
- end
-
def validate_character_limit("" = _full_payload, [] = _attachments) do
{:error, dgettext("errors", "Cannot post an empty status without attachments")}
end