Merge branch 'feature/move-activity' into 'develop'
[akkoma] / lib / pleroma / web / push / impl.ex
index b01ae0f8053a3463004bff387798f1ddad1613fb..a6a924d02f067191ddda7e157ffbb40209fd2f12 100644 (file)
@@ -16,7 +16,7 @@ defmodule Pleroma.Web.Push.Impl do
   require Logger
   import Ecto.Query
 
-  @types ["Create", "Follow", "Announce", "Like"]
+  @types ["Create", "Follow", "Announce", "Like", "Move"]
 
   @doc "Performs sending notifications for user subscriptions"
   @spec perform(Notification.t()) :: list(any) | :error
@@ -48,8 +48,7 @@ defmodule Pleroma.Web.Push.Impl do
         preferred_locale: "en",
         pleroma: %{
           activity_id: activity_id,
-          direct_conversation_id: direct_conversation_id,
-          account: user.ap_id
+          direct_conversation_id: direct_conversation_id
         }
       }
       |> Jason.encode!()