Fixes boost notification
This commit is contained in:
parent
be3c7ac90e
commit
3ee12345ec
|
@ -294,6 +294,8 @@ class Boost(ActivityMixin, Status):
|
||||||
if not self.boosted_status.user.local:
|
if not self.boosted_status.user.local:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if self.boosted_status.user.local and \
|
||||||
|
self.boosted_status.user != self.user:
|
||||||
notification_model = apps.get_model(
|
notification_model = apps.get_model(
|
||||||
'bookwyrm.Notification', require_ready=True)
|
'bookwyrm.Notification', require_ready=True)
|
||||||
notification_model.objects.create(
|
notification_model.objects.create(
|
||||||
|
|
Loading…
Reference in New Issue