projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'sha512-crypt' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
mrf
/
keyword_policy.ex
diff --git
a/lib/pleroma/web/activity_pub/mrf/keyword_policy.ex
b/lib/pleroma/web/activity_pub/mrf/keyword_policy.ex
index e8dfba672a8f676fe8eb0c24a1d0a804991e0ebe..d5c3414337ad876f46f7e01b817b94aaf5a21437 100644
(file)
--- a/
lib/pleroma/web/activity_pub/mrf/keyword_policy.ex
+++ b/
lib/pleroma/web/activity_pub/mrf/keyword_policy.ex
@@
-3,6
+3,8
@@
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.KeywordPolicy do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.KeywordPolicy do
+ @moduledoc "Reject or Word-Replace messages with a keyword or regex"
+
@behaviour Pleroma.Web.ActivityPub.MRF
defp string_matches?(string, _) when not is_binary(string) do
false
@behaviour Pleroma.Web.ActivityPub.MRF
defp string_matches?(string, _) when not is_binary(string) do
false