mirror of https://github.com/tootsuite/mastodon
Revert "Fix error on viewing a profile when unlogged (#28465)"
This reverts commit 1c041356a1
.
revert/follow-back-mutual
parent
bd538598c2
commit
b624b596ee
|
@ -84,8 +84,6 @@ const titleFromAccount = account => {
|
|||
};
|
||||
|
||||
const messageForFollowButton = relationship => {
|
||||
if(!relationship) return messages.follow;
|
||||
|
||||
if (relationship.get('following') && relationship.get('followed_by')) {
|
||||
return messages.mutual;
|
||||
} else if (!relationship.get('following') && relationship.get('followed_by')) {
|
||||
|
|
Loading…
Reference in New Issue