mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-26 07:35:16 +00:00
Fix Visiblity issue
This commit is contained in:
parent
dc0bd3c2ee
commit
981975404d
1 changed files with 2 additions and 2 deletions
|
@ -146,8 +146,8 @@ export class MastoConverters {
|
||||||
display_name: user.name ?? user.username,
|
display_name: user.name ?? user.username,
|
||||||
locked: user.isLocked,
|
locked: user.isLocked,
|
||||||
created_at: this.idService.parse(user.id).date.toISOString(),
|
created_at: this.idService.parse(user.id).date.toISOString(),
|
||||||
followers_count: user.followersCount,
|
followers_count: profile?.ffVisibility === 'public' ? user.followersCount : 0,
|
||||||
following_count: user.followingCount,
|
following_count: profile?.ffVisibility === 'public' ? user.followingCount : 0,
|
||||||
statuses_count: user.notesCount,
|
statuses_count: user.notesCount,
|
||||||
note: profile?.description ?? '',
|
note: profile?.description ?? '',
|
||||||
url: user.uri ?? acctUrl,
|
url: user.uri ?? acctUrl,
|
||||||
|
|
Loading…
Reference in a new issue