fix missing inbox url
This commit is contained in:
parent
6e7d13d6a8
commit
051583e060
2 changed files with 2 additions and 0 deletions
|
@ -702,6 +702,7 @@ class Identity(models.Model):
|
|||
self.followers_uri = self.actor_uri + "followers/"
|
||||
self.following_uri = self.actor_uri + "following/"
|
||||
self.shared_inbox_uri = f"https://{self.domain.uri_domain}/inbox/"
|
||||
self.save()
|
||||
|
||||
|
||||
class Follow(models.Model):
|
||||
|
|
|
@ -106,6 +106,7 @@ def init_identity(apps, schema_editor):
|
|||
state_next_attempt=timezone.now() + timedelta(days=365 * 99),
|
||||
)
|
||||
takahe_identity.generate_keypair()
|
||||
takahe_identity.ensure_uris()
|
||||
takahe_user.identities.add(takahe_identity)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue