diff --git a/apps/notification/models.py b/apps/notification/models.py index fd386c2d..1f055f2e 100644 --- a/apps/notification/models.py +++ b/apps/notification/models.py @@ -119,6 +119,7 @@ class Subscriber(ProjectBaseMixin): old_subscribes_types = [sub for sub in old_subscribes if sub.id not in new_ids] old_subscribes = Subscribe.objects.filter(subscriber=self, subscription_types__in=old_subscribes_types) old_subscribes.update(unsubscribe_date=now()) + old_subscribes.save() self.save()