Fixes pure status serializer

This commit is contained in:
Mouse Reeve
2020-12-16 15:59:42 -08:00
parent ef92e562fd
commit d79a756813
3 changed files with 5 additions and 6 deletions

View File

@ -252,9 +252,8 @@ def handle_status(user, form):
broadcast(user, status.to_create_activity(user), software='bookwyrm')
# re-format the activity for non-bookwyrm servers
if hasattr(status, 'pure_activity_serializer'):
remote_activity = status.to_create_activity(user, pure=True)
broadcast(user, remote_activity, software='other')
remote_activity = status.to_create_activity(user, pure=True)
broadcast(user, remote_activity, software='other')
def handle_tag(user, tag):