From 54c45832cce0537f23ac27119681ec4f3ba24e47 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 9 Nov 2022 17:38:37 +0100 Subject: [PATCH] Fix party invite 404 --- src/party/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/party/models.py b/src/party/models.py index f9811ce..ff393fe 100644 --- a/src/party/models.py +++ b/src/party/models.py @@ -17,6 +17,7 @@ class PartyQuerySet(models.QuerySet): return self.filter( Q(game_master=user) | Q(characters__in=Character.objects.filter(player=user)) + | Q(invited_characters__in=Character.objects.filter(player=user)) ).distinct() def invited_to(self, user):