[#1895] credo fix.
This commit is contained in:
parent
3f8370a285
commit
a6495f4a68
@ -88,7 +88,7 @@ def direct(%{assigns: %{user: user}} = conn, params) do
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
defp restrict_unauthenticated?(_local_only = true) do
|
defp restrict_unauthenticated?(true = _local_only) do
|
||||||
Pleroma.Config.get([:restrict_unauthenticated, :timelines, :local])
|
Pleroma.Config.get([:restrict_unauthenticated, :timelines, :local])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user