notification: remove local/remote match rules (too complicated)
[akkoma] / lib / pleroma / notification.ex
index 4095e04745684a81d096ed860d5eaeb1446539ab..35beffb87ed2d6e44b7eafa8b252cf4c9bcb2a7e 100644 (file)
@@ -169,7 +169,6 @@ defmodule Pleroma.Notification do
     [
       :self,
       :blocked,
-      :local,
       :muted,
       :followers,
       :follows,
@@ -189,12 +188,6 @@ defmodule Pleroma.Notification do
     User.blocks?(user, %{ap_id: actor})
   end
 
-  def skip?(:local, %{local: true}, %{info: %{notification_settings: %{"local" => false}}}),
-    do: true
-
-  def skip?(:local, %{local: false}, %{info: %{notification_settings: %{"remote" => false}}}),
-    do: true
-
   def skip?(:muted, activity, user) do
     actor = activity.data["actor"]