Commit 95e6e821 authored by lain's avatar lain
Browse files

Correctly display accounts without name.

parent 27576828
Pipeline #801 failed with stage
in 2 minutes and 46 seconds
......@@ -18,7 +18,7 @@ def render("account.json", %{user: user}) do
id: to_string(,
username: hd(String.split(user.nickname, "@")),
acct: user.nickname,
display_name: || user.nickname,
locked: false,
created_at: Utils.to_masto_date(user.inserted_at),
followers_count: user_info.follower_count,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment