forked from mirrors/bookwyrm
Don't error on statuses that didn't get created
This commit is contained in:
parent
4710e65269
commit
50aaa8d9a1
1 changed files with 2 additions and 0 deletions
|
@ -222,6 +222,8 @@ def handle_create(activity):
|
|||
return
|
||||
|
||||
status = status_builder.create_status(activity['object'])
|
||||
if not status:
|
||||
return
|
||||
|
||||
# create a notification if this is a reply
|
||||
if status.reply_parent and status.reply_parent.user.local:
|
||||
|
|
Loading…
Reference in a new issue