Minor refactoring of the logic for hiding followers/following counts.
authorMark Felder <feld@FreeBSD.org>
Mon, 14 Dec 2020 19:27:42 +0000 (13:27 -0600)
committerMark Felder <feld@FreeBSD.org>
Mon, 14 Dec 2020 19:27:42 +0000 (13:27 -0600)
commit6dac2ac71a0005419d1440b5e5daeab3aaabf889
treecdfac583bef71b0d2148129a03d3bf66b64bcf32
parentf687befb93a9ad2c3dc61f47bdbb717cb1421ad5
Minor refactoring of the logic for hiding followers/following counts.

Field is not nullable anymore, and this is more readable.
lib/pleroma/web/mastodon_api/views/account_view.ex