store friends/followers in the global user repository
This commit is contained in:
parent
936eb23bdf
commit
e7010d73ac
3 changed files with 30 additions and 47 deletions
|
@ -129,8 +129,8 @@ export const parseUser = (data) => {
|
|||
output.locked = data.locked
|
||||
output.followers_count = data.followers_count
|
||||
output.statuses_count = data.statuses_count
|
||||
output.friends = []
|
||||
output.followers = []
|
||||
output.friendIds = []
|
||||
output.followerIds = []
|
||||
if (data.pleroma) {
|
||||
output.follow_request_count = data.pleroma.follow_request_count
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue