Inbox lookup for LocalPerson used the "follow" relationship backwards; now fixed.

merge-requests/2/head
Marnanel Thurman 2021-02-14 21:57:32 +00:00
rodzic 3a3ce2fae2
commit 6ae898af03
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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",