Merge branch 'fix/subscription-notification-view' into 'develop'

Fix SubscriptionNotificationView

See merge request pleroma/pleroma!1727
This commit is contained in:
kaniini 2019-09-27 06:17:40 +00:00
commit a83c116df7
1 changed files with 3 additions and 3 deletions

View File

@ -36,19 +36,19 @@ def render("show.json", %{
"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" ->