projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extend reject MRF to check if originating instance is blocked
[akkoma]
/
lib
/
pleroma
/
config
/
loader.ex
diff --git
a/lib/pleroma/config/loader.ex
b/lib/pleroma/config/loader.ex
index b64d06707840788f6442f3ce68240370a7c8662a..2a945999ed7730a067331f7661b1b63f6f841038 100644
(file)
--- a/
lib/pleroma/config/loader.ex
+++ b/
lib/pleroma/config/loader.ex
@@
-3,9
+3,11
@@
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Config.Loader do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Config.Loader do
+ # These modules are only being used as keys here (for equality check),
+ # so it's okay to use `Module.concat/1` to have the compiler ignore them.
@reject_keys [
@reject_keys [
-
Pleroma.Repo
,
-
Pleroma.Web.Endpoint
,
+
Module.concat(["Pleroma.Repo"])
,
+
Module.concat(["Pleroma.Web.Endpoint"])
,
:env,
:configurable_from_database,
:database,
:env,
:configurable_from_database,
:database,