fix requested view for follow requests (#489)

This commit is contained in:
Nolan Lawson 2018-08-25 22:03:26 -07:00 committed by GitHub
parent 73c99904cf
commit dc091f1360
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,8 +65,8 @@
return relationship && relationship.following
},
blocking: ({ relationship }) => relationship && relationship.blocking,
followRequested: ({ relationship, account }) => {
return relationship && relationship.requested && account && account.locked
followRequested: ({ relationship }) => {
return relationship && relationship.requested
},
followLabel: ({ blocking, following, followRequested }) => {
if (blocking) {