]> Untitled Git - lemmy.git/commit
Show nsfw communities if you are logged in and searching communities (#2105)
authordayinjing <94152841+dayinjing@users.noreply.github.com>
Wed, 2 Mar 2022 17:39:27 +0000 (11:39 -0600)
committerGitHub <noreply@github.com>
Wed, 2 Mar 2022 17:39:27 +0000 (17:39 +0000)
commitbc3927a9bd9ae632d6c56aaa562ed093d4003060
treec4096c8e1b5458e849c996b2579a1fc802ee835b
parent63565712ade51fa69b954cdffb526160b08a0b61
Show nsfw communities if you are logged in and searching communities (#2105)

* Show nsfw communities in logged in and you've enabled nsfw in your profile atleast

* Reuse existing user check

Co-authored-by: Sun Wukong <monkey@king.com>
crates/db_views_actor/src/community_view.rs