Link import job to import status and display status on status page.
This commit is contained in:
parent
22b2a95fd3
commit
60dabe442e
5 changed files with 31 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue