mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-21 23:01:00 +00:00
Do not fetch webfinger if when querying identity on local domain (#668)
This commit is contained in:
parent
6855e74c6f
commit
ac7fef4b28
1 changed files with 2 additions and 0 deletions
|
@ -400,6 +400,8 @@ class Identity(StatorModel):
|
|||
domain = domain.domain
|
||||
else:
|
||||
domain = domain.lower()
|
||||
domain_instance = Domain.get_domain(domain)
|
||||
local = domain_instance.local if domain_instance else local
|
||||
|
||||
with transaction.atomic():
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue