mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
filter local-only statuses from public pages
This commit is contained in:
parent
5ef65aab8f
commit
6bd18e43ba
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ class AccountsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def default_statuses
|
def default_statuses
|
||||||
@account.statuses.where(visibility: [:public, :unlisted])
|
@account.statuses.not_local_only.where(visibility: [:public, :unlisted])
|
||||||
end
|
end
|
||||||
|
|
||||||
def only_media_scope
|
def only_media_scope
|
||||||
|
|
|
@ -260,7 +260,7 @@ class Status < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def filter_timeline_default(query)
|
def filter_timeline_default(query)
|
||||||
query.excluding_silenced_accounts
|
query.not_local_only.excluding_silenced_accounts
|
||||||
end
|
end
|
||||||
|
|
||||||
def account_silencing_filter(account)
|
def account_silencing_filter(account)
|
||||||
|
|
Loading…
Reference in a new issue