fix notification

This commit is contained in:
Your Name 2024-04-19 20:54:48 -04:00 committed by Henri Dickson
parent 15a7b55642
commit a6e58060c7
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
unsupported notification: boost

View file

@ -962,7 +962,7 @@ class Takahe:
"subject_post__emojis", "subject_post__emojis",
) )
.filter(identity=identity_id) .filter(identity=identity_id)
.exclude(type="post", subject_identity__isnull=True) .exclude(type__in=["post", "boost"])
.exclude(subject_identity_id=identity_id) .exclude(subject_identity_id=identity_id)
.order_by("-created") .order_by("-created")
) )