club: make clubs viewable by old subscribers

Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
Skia 2017-11-01 14:51:32 +01:00
parent 4810934a10
commit 6ebdd53d98

View File

@ -188,7 +188,7 @@ class Club(models.Model):
sub = User.objects.filter(pk=user.pk).first() sub = User.objects.filter(pk=user.pk).first()
if sub is None: if sub is None:
return False return False
return sub.is_subscribed return sub.was_subscribed
_memberships = {} _memberships = {}