mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 11:19:19 +00:00
Correctly display accounts without name.
This commit is contained in:
parent
2757682894
commit
95e6e82138
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
|
|||
id: to_string(user.id),
|
||||
username: hd(String.split(user.nickname, "@")),
|
||||
acct: user.nickname,
|
||||
display_name: user.name,
|
||||
display_name: user.name || user.nickname,
|
||||
locked: false,
|
||||
created_at: Utils.to_masto_date(user.inserted_at),
|
||||
followers_count: user_info.follower_count,
|
||||
|
|
Loading…
Reference in a new issue