projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ActivityPubController: Add Mastodon compatibility route.
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
mrf.ex
diff --git
a/lib/pleroma/web/activity_pub/mrf.ex
b/lib/pleroma/web/activity_pub/mrf.ex
index 7533552d5744d41275a3d985194e4ee4028aa9f9..a0b3af432b18ecc5cde7a84765a3f07924d7ad1a 100644
(file)
--- a/
lib/pleroma/web/activity_pub/mrf.ex
+++ b/
lib/pleroma/web/activity_pub/mrf.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF do
@@
-59,12
+59,12
@@
defmodule Pleroma.Web.ActivityPub.MRF do
base =
%{
mrf_policies: mrf_policies,
base =
%{
mrf_policies: mrf_policies,
- exclusions: length(exclusions) > 0
,
+ exclusions: length(exclusions) > 0
}
|> Map.merge(policy_configs)
{:ok, base}
end
}
|> Map.merge(policy_configs)
{:ok, base}
end
- def describe
()
, do: get_policies() |> describe()
+ def describe, do: get_policies() |> describe()
end
end