From 6ae898af0325c8f5464eb33dbad3b825776e5262 Mon Sep 17 00:00:00 2001 From: Marnanel Thurman Date: Sun, 14 Feb 2021 21:57:32 +0000 Subject: [PATCH] Inbox lookup for LocalPerson used the "follow" relationship backwards; now fixed. --- kepi/trilby_api/models/person.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kepi/trilby_api/models/person.py b/kepi/trilby_api/models/person.py index 26159e1..a48a15c 100644 --- a/kepi/trilby_api/models/person.py +++ b/kepi/trilby_api/models/person.py @@ -606,7 +606,7 @@ class LocalPerson(Person): all_your_friends_public_posts = trilby_models.Status.objects.filter( visibility = trilby_utils.VISIBILITY_PUBLIC, - account__rel_following__following = self, + account__rel_followers__follower = self, ) logger.debug("%s.inbox: all friends' public: %s",