From: Alexander Strizhakov Date: Wed, 26 Feb 2020 13:59:07 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/filter.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=771748db1fa01a71c52c20b890e1b80bfcf1e230;p=akkoma Apply suggestion to lib/pleroma/filter.ex --- diff --git a/lib/pleroma/filter.ex b/lib/pleroma/filter.ex index 91884c6b3..98cb575a9 100644 --- a/lib/pleroma/filter.ex +++ b/lib/pleroma/filter.ex @@ -42,7 +42,7 @@ defmodule Pleroma.Filter do from(f in query, where: f.hide) end - def get_by_user(query, %User{id: user_id} = _user) do + def get_filters(query \\ __MODULE__, %User{id: user_id}) do query = from( f in query,