kopia lustrzana https://github.com/snarfed/bridgy-fed
whoops, revert the Web.get_or_create change in 4ff28ca377
rodzic
4ff28ca377
commit
6b1290eb53
2
web.py
2
web.py
|
@ -149,7 +149,7 @@ class Web(User, Protocol):
|
|||
return None # opted out
|
||||
|
||||
domain = key.id()
|
||||
if Protocol.for_bridgy_subdomain(domain):
|
||||
if util.domain_or_parent_in(domain, [SUPERDOMAIN.strip('.')]):
|
||||
return super().get_by_id(domain)
|
||||
|
||||
user = super().get_or_create(domain, **kwargs)
|
||||
|
|
Ładowanie…
Reference in New Issue