Pleroma.Filter: fix gradient error
lib/pleroma/filter.ex: The clause on line 220 cannot be reached
This commit is contained in:
parent
d42b0eb29b
commit
a2c686e16c
|
@ -216,9 +216,6 @@ def compose_regex([_ | _] = filters, format) do
|
||||||
|
|
||||||
:re ->
|
:re ->
|
||||||
~r/\b#{phrases}\b/i
|
~r/\b#{phrases}\b/i
|
||||||
|
|
||||||
_ ->
|
|
||||||
nil
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue