Highlight report notifications
This commit is contained in:
parent
2867d703cc
commit
c373a0b818
@ -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…
x
Reference in New Issue
Block a user