Fixes flow in checking software for broadcast

This commit is contained in:
Mouse Reeve 2021-11-10 09:33:00 -08:00
parent 20c6a3ea1c
commit aeef472ee1

View file

@ -220,7 +220,7 @@ class ObjectMixin(ActivitypubMixin):
try: try:
# do we have a "pure" activitypub version of this for mastodon? # do we have a "pure" activitypub version of this for mastodon?
if not software and hasattr(self, "pure_content"): if not software == "bookwyrm" and hasattr(self, "pure_content"):
pure_activity = self.to_create_activity(user, pure=True) pure_activity = self.to_create_activity(user, pure=True)
self.broadcast(pure_activity, user, software="other") self.broadcast(pure_activity, user, software="other")
# set bookwyrm so that that type is also sent # set bookwyrm so that that type is also sent