Merge branch 'master' into glitch-soc/merge-upstream

This commit is contained in:
Thibaut Girka
2020-05-20 18:22:42 +02:00
14 changed files with 124 additions and 26 deletions

View File

@@ -94,7 +94,7 @@ class SearchService < BaseService
end
def account_searchable?
account_search? && !(@query.include?('@') && @query.include?(' '))
account_search? && !(@query.start_with?('#') || (@query.include?('@') && @query.include?(' ')))
end
def hashtag_searchable?