mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-27 02:20:31 +00:00
Fixes flow in checking software for broadcast
This commit is contained in:
parent
20c6a3ea1c
commit
aeef472ee1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue