FreeFeed / freefeed-server

FreeFeed server
https://freefeed.net
MIT License
42 stars 18 forks source link

Add hide lists for home feeds #450

Closed davidmz closed 4 years ago

davidmz commented 4 years ago

Let S is subscriptions of the given home feed and F is all subscriptions of the home feed owner. Then H = F - S is a home feed's hide list.

Posts published to H's 'Posts' feeds and not published to the S' 'Posts' feeds will not be present in home feed. So if user is subscribed to X but exclude them from the main home feed, the X's posts will not appear in the main home feed.

These hide lists only make sense for the main (inherent) home feeds. The auxiliary feeds are always working in HOMEFEED_MODE_FRIENDS_ONLY mode and showing posts only from S.

The hide list algorithms are pretty similar to our client-side user hides and we should merge them in the future.