Fixes boost notification

This commit is contained in:
Mouse Reeve 2021-03-02 20:19:50 -08:00
parent be3c7ac90e
commit 3ee12345ec

View file

@ -294,6 +294,8 @@ class Boost(ActivityMixin, Status):
if not self.boosted_status.user.local:
return
if self.boosted_status.user.local and \
self.boosted_status.user != self.user:
notification_model = apps.get_model(
'bookwyrm.Notification', require_ready=True)
notification_model.objects.create(