From f4889f4deff1428bed90f3850511b5ac4ef4ba44 Mon Sep 17 00:00:00 2001 From: Marnanel Thurman Date: Sat, 19 Sep 2020 15:07:57 +0100 Subject: [PATCH] LocalPerson: inbox -> inbox_url, and inbox_collection -> inbox. This fixes a regression. --- kepi/trilby_api/models/person.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kepi/trilby_api/models/person.py b/kepi/trilby_api/models/person.py index e03502d..102c7cd 100644 --- a/kepi/trilby_api/models/person.py +++ b/kepi/trilby_api/models/person.py @@ -497,17 +497,15 @@ class LocalPerson(Person): return result @property - def inbox(self): + def inbox_url(self): return uri_to_url(settings.KEPI['USER_INBOX_LINK'] % { 'username': self.local_user.username, }) @property - def inbox_collection(self): + def inbox(self): """ Returns a QuerySet representing the user's inbox. - (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: