getting and setting user background via MastoAPI
This commit is contained in:
parent
e3638af031
commit
6744396f82
4 changed files with 18 additions and 50 deletions
|
@ -60,6 +60,9 @@ export const parseUser = (data) => {
|
|||
if (data.pleroma) {
|
||||
const relationship = data.pleroma.relationship
|
||||
|
||||
output.background_image = data.pleroma.background_image
|
||||
output.token = data.pleroma.chat_token
|
||||
|
||||
if (relationship) {
|
||||
output.follows_you = relationship.followed_by
|
||||
output.following = relationship.following
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue