mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 08:29:55 +02:00
See #689: fetch nodeinfo when seing a domain for the first time
This commit is contained in:
parent
84e2f0af9f
commit
5e3cc99f20
5 changed files with 25 additions and 4 deletions
|
@ -151,6 +151,10 @@ class Domain(models.Model):
|
|||
)
|
||||
return data
|
||||
|
||||
@property
|
||||
def is_local(self):
|
||||
return self.name == settings.FEDERATION_HOSTNAME
|
||||
|
||||
|
||||
class Actor(models.Model):
|
||||
ap_type = "Actor"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue