mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-01 14:01:35 +00:00
parent
3ee12345ec
commit
51cf580813
1 changed files with 8 additions and 10 deletions
|
@ -294,8 +294,6 @@ 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 a new issue