format feed_view.ex
This commit is contained in:
parent
d3f22d24f6
commit
117a53b88e
@ -74,6 +74,7 @@ defmodule Pleroma.Web.Feed.FeedView do
|
|||||||
|
|
||||||
def activity_title(%{"content" => content} = data, opts \\ %{}) do
|
def activity_title(%{"content" => content} = data, opts \\ %{}) do
|
||||||
summary = Map.get(data, "summary", "")
|
summary = Map.get(data, "summary", "")
|
||||||
|
|
||||||
title =
|
title =
|
||||||
cond do
|
cond do
|
||||||
summary != "" -> summary
|
summary != "" -> summary
|
||||||
|
Loading…
Reference in New Issue
Block a user