filter local-only statuses from public pages
This commit is contained in:
1 parent
5ef65aab8f
commit
6bd18e43ba
2 files changed
+2
-2
No files matched your search
@@ -49,7 +49,7 @@ class AccountsController < ApplicationController
|
||||
end
|
||||
|
||||
def default_statuses
|
||||
@account.statuses.where(visibility: [:public, :unlisted])
|
||||
@account.statuses.not_local_only.where(visibility: [:public, :unlisted])
|
||||
end
|
||||
|
||||
def only_media_scope
|
||||
|
||||
@@ -260,7 +260,7 @@ class Status < ApplicationRecord
|
||||
end
|
||||
|
||||
def filter_timeline_default(query)
|
||||
query.excluding_silenced_accounts
|
||||
query.not_local_only.excluding_silenced_accounts
|
||||
end
|
||||
|
||||
def account_silencing_filter(account)
|
||||
|
||||
Reference in new issue
Block a user