forked from AkkomaGang/akkoma-fe
undo this change since BE returns empty object for relationship, add in a
separate MR
This commit is contained in:
parent
2e59ab738b
commit
c038d0c12a
1 changed files with 3 additions and 12 deletions
|
@ -60,18 +60,9 @@ export const parseUser = (data) => {
|
||||||
|
|
||||||
if (data.pleroma) {
|
if (data.pleroma) {
|
||||||
const pleroma = data.pleroma
|
const pleroma = data.pleroma
|
||||||
const relationship = pleroma.relationship
|
output.follows_you = pleroma.follows_you
|
||||||
output.follows_you = relationship.followed_by
|
output.statusnet_blocking = pleroma.statusnet_blocking
|
||||||
output.statusnet_blocking = relationship.blocking
|
output.muted = pleroma.muted
|
||||||
output.muted = relationship.muting
|
|
||||||
output.following = relationship.following
|
|
||||||
|
|
||||||
// Unused:
|
|
||||||
// domain_blocking
|
|
||||||
// endorsed
|
|
||||||
// muting_notifications
|
|
||||||
// requested
|
|
||||||
// showing_reblogs
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Missing, trying to recover
|
// Missing, trying to recover
|
||||||
|
|
Loading…
Reference in a new issue