mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
[mastodon-client] userDetail: fallback to username if displayname is null
This commit is contained in:
parent
f57f2d868f
commit
a2d870a803
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ namespace MisskeyAPI {
|
|||
id: u.id,
|
||||
username: u.username,
|
||||
acct: acct,
|
||||
display_name: u.name,
|
||||
display_name: u.name || u.username,
|
||||
locked: u.isLocked,
|
||||
created_at: u.createdAt,
|
||||
followers_count: u.followersCount,
|
||||
|
|
Loading…
Reference in a new issue