Change TOOTS to STATUSES
This commit is contained in:
parent
f6f13f54cf
commit
d3c1eaba21
2 changed files with 4 additions and 4 deletions
|
@ -283,10 +283,10 @@ MAX_POLL_OPTION_CHARS=100
|
||||||
# Customize the number of hashtags shown in 'Explore'
|
# Customize the number of hashtags shown in 'Explore'
|
||||||
# MAX_TRENDING_TAGS=10
|
# MAX_TRENDING_TAGS=10
|
||||||
|
|
||||||
# Search all visible toots
|
# Search all visible statuses
|
||||||
# (Normally searches only a user's own toots, favs, bookmarks, and mentions)
|
# (Normally searches only a user's own statuses, favs, bookmarks, and mentions)
|
||||||
# Only relevant when elasticsearch is installed
|
# Only relevant when elasticsearch is installed
|
||||||
# SEARCH_ALL_VISIBLE_TOOTS=true
|
# SEARCH_ALL_VISIBLE_STATUSES=true
|
||||||
|
|
||||||
# Maximum custom emoji file sizes
|
# Maximum custom emoji file sizes
|
||||||
# If undefined or smaller than MAX_EMOJI_SIZE, the value
|
# If undefined or smaller than MAX_EMOJI_SIZE, the value
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
class SearchService < BaseService
|
class SearchService < BaseService
|
||||||
|
|
||||||
SEARCH_ALL_VISIBLE_TOOTS = ENV['SEARCH_ALL_VISIBLE_TOOTS'] == 'true'
|
SEARCH_ALL_VISIBLE_STATUSES = ENV['SEARCH_ALL_VISIBLE_STATUSES'] == 'true'
|
||||||
|
|
||||||
def call(query, account, limit, options = {})
|
def call(query, account, limit, options = {})
|
||||||
@query = query&.strip
|
@query = query&.strip
|
||||||
|
|
Loading…
Reference in a new issue