mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-26 10:00:33 +00:00
Cleans up software check syntax
This commit is contained in:
parent
1b9d08414f
commit
97a71f5e39
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class ObjectMixin(ActivitypubMixin):
|
|||
|
||||
try:
|
||||
# do we have a "pure" activitypub version of this for mastodon?
|
||||
if not software == "bookwyrm" and hasattr(self, "pure_content"):
|
||||
if software != "bookwyrm" and hasattr(self, "pure_content"):
|
||||
pure_activity = self.to_create_activity(user, pure=True)
|
||||
self.broadcast(pure_activity, user, software="other")
|
||||
# set bookwyrm so that that type is also sent
|
||||
|
|
Loading…
Reference in a new issue