Skip to content

Commit

Permalink
Fix incorrect conditions for suspended accounts in Get API for accoun…
Browse files Browse the repository at this point in the history
…t featured tags (mastodon#15270)
  • Loading branch information
noellabo authored and tateisu committed Dec 6, 2020
1 parent 8aa34d0 commit ac7ca78
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -17,6 +17,6 @@ def set_account
end

def set_featured_tags
@featured_tags = @account.suspended? ? @account.featured_tags : []
@featured_tags = @account.suspended? ? [] : @account.featured_tags
end
end

0 comments on commit ac7ca78

Please sign in to comment.