1
0
Fork 0

Link import job to import status and display status on status page.

This commit is contained in:
Adam Kelly 2020-04-22 14:16:46 +01:00
parent 22b2a95fd3
commit 60dabe442e
5 changed files with 31 additions and 2 deletions

View file

@ -158,7 +158,7 @@ def handle_shelve(user, book, shelf):
activity = activitypub.get_status(status)
create_activity = activitypub.get_create(user, activity)
broadcast(user, create_activity, recipients)
broadcast(user, create_activity)
def handle_unshelve(user, book, shelf):
@ -206,6 +206,7 @@ def handle_import_books(user, items):
create_activity = activitypub.get_create(
user, activitypub.get_status(status))
broadcast(user, create_activity)
return status
def handle_rate(user, book, rating):