fix missing inbox url

This commit is contained in:
Her Email 2023-12-06 00:21:28 -05:00 committed by Henri Dickson
parent 6e7d13d6a8
commit 051583e060
2 changed files with 2 additions and 0 deletions

View file

@ -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):

View file

@ -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)