Highlight report notifications
This commit is contained in:
parent
2867d703cc
commit
c373a0b818
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
|
||||||
"""whether any of the unread notifications are conversations"""
|
"""whether any of the unread notifications are conversations"""
|
||||||
return self.notification_set.filter(
|
return self.notification_set.filter(
|
||||||
read=False,
|
read=False,
|
||||||
notification_type__in=["REPLY", "MENTION", "TAG"],
|
notification_type__in=["REPLY", "MENTION", "TAG", "REPORT"],
|
||||||
).exists()
|
).exists()
|
||||||
|
|
||||||
activity_serializer = activitypub.Person
|
activity_serializer = activitypub.Person
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue