ThibG
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/services/account_search_service.rb
|
|
@ -171,7 +171,7 @@ class AccountSearchService < BaseService |
|
|
|
end |
|
|
|
|
|
|
|
def username_complete? |
|
|
|
query.include?('@') && "@#{query}" =~ Account::MENTION_RE |
|
|
|
query.include?('@') && "@#{query}" =~ /\A#{Account::MENTION_RE}\Z/ |
|
|
|
end |
|
|
|
|
|
|
|
def likely_acct? |
|
|
|