logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 3184939055fb8c1c9577a9d13e69c2c2f7e070c0
parent d168ef5a9eb4fc074b042a6dea6d7971d1972c06
Author: Roger Braun <rbraun@Bobble.local>
Date:   Wed, 13 Sep 2017 17:45:59 +0200

Ensure non-null bio.

Diffstat:

Mlib/pleroma/web/mastodon_api/views/account_view.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/web/mastodon_api/views/account_view.ex b/lib/pleroma/web/mastodon_api/views/account_view.ex @@ -22,7 +22,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do followers_count: user_info.follower_count, following_count: user_info.following_count, statuses_count: user_info.note_count, - note: user.bio, + note: user.bio || "", url: user.ap_id, avatar: image, avatar_static: image,