don't filter notifications for follow and move types

stable
Alexander Strizhakov 5 years ago
parent 8277b29790
commit 6558f31cda
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

@ -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)

Loading…
Cancel
Save