insert object defaults for fake activities and make credo happy
This commit is contained in:
parent
d866b59eea
commit
975482f091
2 changed files with 24 additions and 14 deletions
|
|
@ -49,7 +49,7 @@ defmodule Pleroma.HTML do
|
|||
def ensure_scrubbed_html(
|
||||
content,
|
||||
scrubbers,
|
||||
_fake = false
|
||||
false = _fake
|
||||
) do
|
||||
{:commit, filter_tags(content, scrubbers)}
|
||||
end
|
||||
|
|
@ -57,7 +57,7 @@ defmodule Pleroma.HTML do
|
|||
def ensure_scrubbed_html(
|
||||
content,
|
||||
scrubbers,
|
||||
_fake = true
|
||||
true = _fake
|
||||
) do
|
||||
{:ignore, filter_tags(content, scrubbers)}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue