Corrects broadcast flow for objects

This commit is contained in:
Mouse Reeve 2021-11-10 10:39:51 -08:00
parent 7e784fa705
commit cf477a03ae
1 changed files with 3 additions and 4 deletions

View File

@ -225,7 +225,6 @@ class ObjectMixin(ActivitypubMixin):
self.broadcast(pure_activity, user, software="other")
# set bookwyrm so that that type is also sent
software = "bookwyrm"
if software == "bookwyrm":
# sends to BW only if we just did a pure version for masto
activity = self.to_create_activity(user)
self.broadcast(activity, user, software=software)