mirror of https://github.com/spikecodes/libreddit
6a0d0f0e5e
If a search query yielded no results and the user set nsfw posts to be hidden, libreddit would show 'All posts are hidden because they are NSFW. Enable "Show NSFW posts" in settings to view'. This is fixed by verifying tnat posts.len > 0 before setting 'all_posts_hidden_nsfw' to true. |
||
---|---|---|
.. | ||
client.rs | ||
duplicates.rs | ||
main.rs | ||
post.rs | ||
search.rs | ||
server.rs | ||
settings.rs | ||
subreddit.rs | ||
user.rs | ||
utils.rs |