projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/missing-own_votes' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
mrf
/
no_placeholder_text_policy.ex
diff --git
a/lib/pleroma/web/activity_pub/mrf/no_placeholder_text_policy.ex
b/lib/pleroma/web/activity_pub/mrf/no_placeholder_text_policy.ex
index 86a48bda58dc4a0c9e2e2b2f63a2142fc587d7b1..b658d7d41ee2a38cf7efff2bd13558d9ac760359 100644
(file)
--- a/
lib/pleroma/web/activity_pub/mrf/no_placeholder_text_policy.ex
+++ b/
lib/pleroma/web/activity_pub/mrf/no_placeholder_text_policy.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 201
9
Pleroma Authors <https://pleroma.social/>
+# Copyright © 201
7-2021
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.NoPlaceholderTextPolicy do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.NoPlaceholderTextPolicy do
@@
-19,4
+19,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.NoPlaceholderTextPolicy do
@impl true
def filter(object), do: {:ok, object}
@impl true
def filter(object), do: {:ok, object}
+
+ @impl true
+ def describe, do: {:ok, %{}}
end
end