don't filter notifications for follow and move types

This commit is contained in:
Alexander Strizhakov 2020-02-07 18:16:39 +03:00
parent 8277b29790
commit 6558f31cda
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

View File

@ -640,6 +640,8 @@ defmodule Pleroma.Notification do
end)
end
def skip?(:filtered, %{data: %{"type" => type}}, _) when type in ["Follow", "Move"], do: false
def skip?(:filtered, activity, user) do
object = Object.normalize(activity)