Merge branch 'hide-followers-follows-count' into 'develop'
Added a setting to hide follow/follower count from the user profile See merge request pleroma/pleroma-fe!951
This commit is contained in:
commit
4369ce6f1b
6 changed files with 37 additions and 1 deletions
|
@ -278,10 +278,12 @@ describe('API Entities normalizer', () => {
|
|||
})
|
||||
|
||||
it('adds hide_follows and hide_followers user settings', () => {
|
||||
const user = makeMockUserMasto({ pleroma: { hide_followers: true, hide_follows: false } })
|
||||
const user = makeMockUserMasto({ pleroma: { hide_followers: true, hide_follows: false, hide_followers_count: false, hide_follows_count: true } })
|
||||
|
||||
expect(parseUser(user)).to.have.property('hide_followers', true)
|
||||
expect(parseUser(user)).to.have.property('hide_follows', false)
|
||||
expect(parseUser(user)).to.have.property('hide_followers_count', false)
|
||||
expect(parseUser(user)).to.have.property('hide_follows_count', true)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue