OkunaOrg / okuna-api

🤖 The Okuna Social Network API
https://okuna.io
MIT License
242 stars 79 forks source link

Filtering with a list with 0 users shows weird behaviour #459

Open uiboy opened 5 years ago

uiboy commented 5 years ago

When you filter on your home timeline with a list with 0 people in it. Sometimes it shows all recent activity ( public) across the platform, even from communities you are not part of, all the time showing the 'This post is private' error.

On trying it again, it sometimes doesnt retrieve anything new but keeps showing the "this post is pvt" error.

Eitherways, we should show a "No results found" message or something to that effect.

duichwer commented 5 years ago

I did a little bit research and it look like the follows_list(s) is transfered correctly up to the search feature https://github.com/OkunaOrg/okuna-api/blob/e8154d8065b2b448c354299eca04200e6aa4bc6b/openbook_auth/models.py#L1886

I'm not sure how the filter adding works.