commit: 117a53b88eb0388ccfb8942d413ef4473acd73c7
parent d3f22d24f68df31539c952394a746ba281093c9f
Author: faried nawaz <faried@gmail.com>
Date: Mon, 6 Mar 2023 01:16:24 +0500
format feed_view.ex
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/pleroma/web/feed/feed_view.ex b/lib/pleroma/web/feed/feed_view.ex
@@ -74,6 +74,7 @@ defmodule Pleroma.Web.Feed.FeedView do
def activity_title(%{"content" => content} = data, opts \\ %{}) do
summary = Map.get(data, "summary", "")
+
title =
cond do
summary != "" -> summary