Highlight report notifications

This commit is contained in:
Mouse Reeve 2021-04-30 13:38:03 -07:00
parent 2867d703cc
commit c373a0b818

View file

@ -160,7 +160,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
"""whether any of the unread notifications are conversations"""
return self.notification_set.filter(
read=False,
notification_type__in=["REPLY", "MENTION", "TAG"],
notification_type__in=["REPLY", "MENTION", "TAG", "REPORT"],
).exists()
activity_serializer = activitypub.Person