diff --git a/kepi/trilby_api/models/person.py b/kepi/trilby_api/models/person.py index bbff869..1f69086 100644 --- a/kepi/trilby_api/models/person.py +++ b/kepi/trilby_api/models/person.py @@ -417,9 +417,15 @@ class LocalPerson(Person): @property def inbox(self): + return uri_to_url(settings.KEPI['USER_INBOX_LINK'] % { + 'username': self.local_user.username, + }) + + @property + def inbox_collection(self): """ Returns a QuerySet representing the user's inbox. - (This will be called "inbox" rather than "get_inbox_collection" + (This will be called "inbox_collection" rather than "get_inbox_collection" until we can be sure it's not world-accessible from ActivityPub) Your inbox contains: