store friends/followers in the global user repository

This commit is contained in:
taehoon 2019-04-10 13:49:39 -04:00
parent 936eb23bdf
commit e7010d73ac
3 changed files with 30 additions and 47 deletions

View file

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