From: Alexander Strizhakov Date: Fri, 7 Feb 2020 15:16:39 +0000 (+0300) Subject: don't filter notifications for follow and move types X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6558f31cda07b8472ed99823ed0f46deffa584cc;p=akkoma don't filter notifications for follow and move types --- diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index 3f749cace..d439f51bc 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -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)