mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2025-01-19 10:46:05 +01:00
don't filter notifications for follow and move types
This commit is contained in:
parent
8277b29790
commit
6558f31cda
1 changed files with 2 additions and 0 deletions
|
@ -640,6 +640,8 @@ defmodule Pleroma.Notification do
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def skip?(:filtered, %{data: %{"type" => type}}, _) when type in ["Follow", "Move"], do: false
|
||||||
|
|
||||||
def skip?(:filtered, activity, user) do
|
def skip?(:filtered, activity, user) do
|
||||||
object = Object.normalize(activity)
|
object = Object.normalize(activity)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue