1
0
Fork 0
forked from gitea/nas

Unlisted/searchability=public posts hashtag search

This commit is contained in:
KMY 2023-07-04 14:11:14 +09:00
parent ca66c47649
commit 222a31c37c
5 changed files with 17 additions and 2 deletions

View file

@ -70,6 +70,10 @@ class PublicFeed
Status.with_public_visibility.joins(:account).merge(Account.without_suspended.without_silenced)
end
def public_search_scope
Status.with_public_search_visibility.joins(:account).merge(Account.without_suspended.without_silenced)
end
def local_only_scope
Status.local
end