logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 117a53b88eb0388ccfb8942d413ef4473acd73c7
parent d3f22d24f68df31539c952394a746ba281093c9f
Author: faried nawaz <faried@gmail.com>
Date:   Mon,  6 Mar 2023 01:16:24 +0500

format feed_view.ex

Diffstat:

Mlib/pleroma/web/feed/feed_view.ex1+
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