mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
Merge branch 'main' into production
This commit is contained in:
commit
abd96717da
1 changed files with 2 additions and 0 deletions
|
@ -222,6 +222,8 @@ def handle_create(activity):
|
||||||
return
|
return
|
||||||
|
|
||||||
status = status_builder.create_status(activity['object'])
|
status = status_builder.create_status(activity['object'])
|
||||||
|
if not status:
|
||||||
|
return
|
||||||
|
|
||||||
# create a notification if this is a reply
|
# create a notification if this is a reply
|
||||||
if status.reply_parent and status.reply_parent.user.local:
|
if status.reply_parent and status.reply_parent.user.local:
|
||||||
|
|
Loading…
Reference in a new issue