Remove `account` field from web push payload
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 26 Nov 2019 19:32:55 +0000 (02:32 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 26 Nov 2019 19:32:55 +0000 (02:32 +0700)
lib/pleroma/web/push/impl.ex

index b01ae0f8053a3463004bff387798f1ddad1613fb..3de7af7086ca8f1c7814529defa538d6fd1d0da5 100644 (file)
@@ -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!()