Set hide_follows and hide_followers settings when parsing Mastodon format
This commit is contained in:
parent
e80ed386be
commit
14ec12b4f6
2 changed files with 10 additions and 0 deletions
|
@ -70,6 +70,9 @@ export const parseUser = (data) => {
|
|||
output.muted = relationship.muting
|
||||
}
|
||||
|
||||
output.hide_follows = data.pleroma.hide_follows
|
||||
output.hide_followers = data.pleroma.hide_followers
|
||||
|
||||
output.rights = {
|
||||
moderator: data.pleroma.is_moderator,
|
||||
admin: data.pleroma.is_admin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue