implemented status visibility change
This commit is contained in:
parent
aa0cef12b1
commit
19d8875196
16 changed files with 225 additions and 98 deletions
|
|
@ -150,7 +150,10 @@ export const parseUser = (data) => {
|
|||
output.fields = data.source.fields
|
||||
if (data.source.pleroma) {
|
||||
output.no_rich_text = data.source.pleroma.no_rich_text
|
||||
output.show_role = typeof data.source.pleroma.show_role === 'boolean' ? data.source.pleroma.show_role : true
|
||||
output.show_role =
|
||||
typeof data.source.pleroma.show_role === 'boolean'
|
||||
? data.source.pleroma.show_role
|
||||
: true
|
||||
output.discoverable = data.source.pleroma.discoverable
|
||||
output.show_birthday = data.pleroma.show_birthday
|
||||
output.actor_type = data.source.pleroma.actor_type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue