projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MRF Policies: Return a {:reject, reason} instead of {:reject, nil}
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
mrf
/
user_allow_list_policy.ex
diff --git
a/lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex
b/lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex
index 651aed70f00b5ae3bb5c33daa4e7230b01d9165d..1a28f2ba21d118563324d36b9e602d6d87eb60a9 100644
(file)
--- a/
lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex
+++ b/
lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex
@@
-14,7
+14,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.UserAllowListPolicy do
if actor in allow_list do
{:ok, object}
else
- {:reject,
nil
}
+ {:reject,
"[UserAllowListPolicy] #{actor} not in the list"
}
end
end