Perform webfinger search on all username syntaxes
This commit is contained in:
parent
44c8f64239
commit
daf2fd1667
|
@ -31,7 +31,7 @@ class Search(View):
|
||||||
return JsonResponse([r.json() for r in book_results], safe=False)
|
return JsonResponse([r.json() for r in book_results], safe=False)
|
||||||
|
|
||||||
# use webfinger for mastodon style account@domain.com username
|
# 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)
|
handle_remote_webfinger(query)
|
||||||
|
|
||||||
# do a user search
|
# do a user search
|
||||||
|
|
Loading…
Reference in New Issue