Set hide_follows and hide_followers settings when parsing Mastodon format

This commit is contained in:
Eugenij 2019-07-07 10:20:55 +00:00 committed by Shpuld Shpludson
parent e80ed386be
commit 14ec12b4f6
2 changed files with 10 additions and 0 deletions

View file

@ -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