Merge branch 'follow-requests-for-locked-accounts' into 'develop'

Follow Request notification count for restricted accounts

See merge request pleroma/pleroma-fe!561
This commit is contained in:
Shpuld Shpludson 2019-02-19 16:38:05 +00:00
commit 0e1295edea
3 changed files with 17 additions and 1 deletions

View file

@ -117,6 +117,9 @@ export const parseUser = (data) => {
output.statuses_count = data.statuses_count
output.friends = []
output.followers = []
if (data.pleroma) {
output.follow_request_count = data.pleroma.follow_request_count
}
return output
}