disable showing follows for now, getting incredibly spammy. will add feature to highlight follows soon

This commit is contained in:
Kyle Drake 2023-05-05 16:25:02 -05:00
parent 6a045685d0
commit 10f40c8f5c

View file

@ -35,6 +35,7 @@ class Event < Sequel::Model
ds = select_all(:events).
order(:created_at.desc).
join_table(:inner, :sites, id: :site_id).
where(follow_id: nil)
exclude(Sequel.qualify(:sites, :is_deleted) => true).
exclude(Sequel.qualify(:events, :is_deleted) => true).
exclude(is_banned: true)