Fix SubscriptionNotificationView
authorEgor Kislitsyn <egor@kislitsyn.com>
Fri, 27 Sep 2019 04:55:47 +0000 (11:55 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Fri, 27 Sep 2019 04:55:47 +0000 (11:55 +0700)
lib/pleroma/web/pleroma_api/views/subscription_notification_view.ex

index 0eccbcbb96bff34ffaa823d76ad22fade562f65d..fc41a7389ae11caf8783de35f7c71e24299ba8ad 100644 (file)
@@ -36,19 +36,19 @@ defmodule Pleroma.Web.PleromaAPI.SubscriptionNotificationView do
       "mention" ->
         response
         |> Map.merge(%{
-          status: StatusView.render("status.json", %{activity: activity, for: user})
+          status: StatusView.render("show.json", %{activity: activity, for: user})
         })
 
       "favourite" ->
         response
         |> Map.merge(%{
-          status: StatusView.render("status.json", %{activity: parent_activity, for: user})
+          status: StatusView.render("show.json", %{activity: parent_activity, for: user})
         })
 
       "reblog" ->
         response
         |> Map.merge(%{
-          status: StatusView.render("status.json", %{activity: parent_activity, for: user})
+          status: StatusView.render("show.json", %{activity: parent_activity, for: user})
         })
 
       "follow" ->