Merge tag 'v3.0.1' into hometown-dev

This commit is contained in:
Darius Kazemi
2019-11-07 10:11:39 -08:00
194 changed files with 2509 additions and 1408 deletions

View File

@ -291,10 +291,6 @@ class Status < ApplicationRecord
where(language: nil).or where(language: account.chosen_languages)
end
def as_home_timeline(account)
where(account: [account] + account.following).where(visibility: [:public, :unlisted, :private])
end
def as_public_timeline(account = nil, local_only = false)
query = timeline_scope(local_only).without_replies