mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
dont show comments for people you don't follow on news feeds
This commit is contained in:
parent
123d05d685
commit
137f8af60b
1 changed files with 1 additions and 1 deletions
|
@ -1409,7 +1409,7 @@ class Site < Sequel::Model
|
|||
search_ids = following_ids+[self.id]
|
||||
|
||||
Event.news_feed_default_dataset.
|
||||
where{Sequel.|({events__site_id: search_ids}, {events__actioning_site_id: search_ids})}.
|
||||
where{Sequel.|({events__site_id: search_ids, events__actioning_site_id: nil}, {events__actioning_site_id: search_ids})}.
|
||||
paginate(current_page.to_i, limit.to_i)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue