Removed public/community timeline for non-admins

• Removed:
- public/community timeline for non-admins
- links to the page
- web sockets for the page
This commit is contained in:
mgabdev
2020-06-19 15:42:13 -04:00
parent b9bf84994f
commit 7ad7fe06bd
11 changed files with 2 additions and 100 deletions

View File

@@ -342,7 +342,7 @@ class Status < ApplicationRecord
end
def as_public_timeline(account = nil)
query = timeline_scope.without_replies.where('statuses.updated_at > ?', 30.minutes.ago)
query = timeline_scope.without_replies
apply_timeline_filters(query, account)
end