~cytrogen/masto-fe

ref: 9e77ab7db245a9a4725600cf69a617c0be1f1018 masto-fe/app/models/home_feed.rb -rw-r--r-- 225 bytes
9e77ab7d — Claire Change private statuses index to index without crutches (#26713) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class HomeFeed < Feed
  def initialize(account)
    @account = account
    super(:home, account.id)
  end

  def regenerating?
    redis.exists?("account:#{@account.id}:regeneration")
  end
end