mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-09 00:35:51 +00:00
Perform webfinger search on all username syntaxes
This commit is contained in:
parent
44c8f64239
commit
daf2fd1667
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class Search(View):
|
|||
return JsonResponse([r.json() for r in book_results], safe=False)
|
||||
|
||||
# use webfinger for mastodon style account@domain.com username
|
||||
if re.match(r"\B%s" % regex.full_username, query):
|
||||
if re.match(regex.full_username, query):
|
||||
handle_remote_webfinger(query)
|
||||
|
||||
# do a user search
|
||||
|
|
Loading…
Reference in a new issue