more fields for users
This commit is contained in:
parent
6c70e9950c
commit
bac7154bc6
|
@ -58,6 +58,15 @@ export const parseUser = (data) => {
|
||||||
|
|
||||||
output.statusnet_profile_url = data.url
|
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
|
// Missing, trying to recover
|
||||||
output.is_local = !output.screen_name.includes('@')
|
output.is_local = !output.screen_name.includes('@')
|
||||||
} else {
|
} else {
|
||||||
|
@ -79,8 +88,15 @@ export const parseUser = (data) => {
|
||||||
output.bot = null // missing
|
output.bot = null // missing
|
||||||
|
|
||||||
output.statusnet_profile_url = data.statusnet_profile_url
|
output.statusnet_profile_url = data.statusnet_profile_url
|
||||||
|
|
||||||
|
output.statusnet_blocking = data.statusnet_blocking
|
||||||
|
|
||||||
output.is_local = data.is_local
|
output.is_local = data.is_local
|
||||||
|
|
||||||
|
output.follows_you = data.follows_you
|
||||||
|
|
||||||
|
output.muted = data.muted
|
||||||
|
|
||||||
// QVITTER ONLY FOR NOW
|
// QVITTER ONLY FOR NOW
|
||||||
// Really only applies to logged in user, really.. I THINK
|
// Really only applies to logged in user, really.. I THINK
|
||||||
output.rights = data.rights
|
output.rights = data.rights
|
||||||
|
|
Loading…
Reference in New Issue