more fields for users
This commit is contained in:
parent
6c70e9950c
commit
bac7154bc6
1 changed files with 16 additions and 0 deletions
|
@ -58,6 +58,15 @@ export const parseUser = (data) => {
|
|||
|
||||
output.statusnet_profile_url = data.url
|
||||
|
||||
// FIXME missing
|
||||
output.follows_you = null
|
||||
|
||||
// FIXME ???????
|
||||
output.statusnet_blocking = false
|
||||
|
||||
// FIXME missing
|
||||
output.muted = null
|
||||
|
||||
// Missing, trying to recover
|
||||
output.is_local = !output.screen_name.includes('@')
|
||||
} else {
|
||||
|
@ -79,8 +88,15 @@ export const parseUser = (data) => {
|
|||
output.bot = null // missing
|
||||
|
||||
output.statusnet_profile_url = data.statusnet_profile_url
|
||||
|
||||
output.statusnet_blocking = data.statusnet_blocking
|
||||
|
||||
output.is_local = data.is_local
|
||||
|
||||
output.follows_you = data.follows_you
|
||||
|
||||
output.muted = data.muted
|
||||
|
||||
// QVITTER ONLY FOR NOW
|
||||
// Really only applies to logged in user, really.. I THINK
|
||||
output.rights = data.rights
|
||||
|
|
Loading…
Reference in a new issue