diff --git a/bookwyrm/models/report.py b/bookwyrm/models/report.py index a8a435781..988b65f4f 100644 --- a/bookwyrm/models/report.py +++ b/bookwyrm/models/report.py @@ -64,9 +64,9 @@ class Report(ActivityMixin, BookWyrmModel): def get_recipients(self, software=None): """Send this to the public inbox of the offending instance""" - if self.user.local: - return None - return [self.user.shared_inbox or self.user.inbox] + if self.reported_user.local: + return [] + return [self.reported_user.shared_inbox or self.reported_user.inbox] def get_remote_id(self): return f"https://{DOMAIN}/settings/reports/{self.id}" diff --git a/bookwyrm/templates/snippets/report_modal.html b/bookwyrm/templates/snippets/report_modal.html index 67a2d8cc6..b0e5925f6 100644 --- a/bookwyrm/templates/snippets/report_modal.html +++ b/bookwyrm/templates/snippets/report_modal.html @@ -44,7 +44,6 @@ {% else %} {% endif %} -