mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-24 10:07:24 +00:00
Fix comment in object.ex
This commit is contained in:
parent
c50353e6ae
commit
ab3089d6a7
|
@ -96,7 +96,7 @@ defmodule Pleroma.Object do
|
||||||
|
|
||||||
defp generate_scrubber_signature(scrubbers) do
|
defp generate_scrubber_signature(scrubbers) do
|
||||||
Enum.reduce(scrubbers, "", fn scrubber, signature ->
|
Enum.reduce(scrubbers, "", fn scrubber, signature ->
|
||||||
# If a scrubber does not have a version(e.g HtmlSanitizeEx.Scrubber) it is assumed it is always 0)
|
# If a scrubber does not have a version(e.g HtmlSanitizeEx.Scrubber.StripTags) it is assumed it is always 0)
|
||||||
version =
|
version =
|
||||||
if Kernel.function_exported?(scrubber, :version, 0) do
|
if Kernel.function_exported?(scrubber, :version, 0) do
|
||||||
scrubber.version
|
scrubber.version
|
||||||
|
|
Loading…
Reference in a new issue