forked from mirrors/bookwyrm
hide deleted statuses from threads
This commit is contained in:
parent
0d614c7ebb
commit
10a0a6ac37
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ def get_replies(status):
|
|||
''' get all direct replies to a status '''
|
||||
#TODO: this limit could cause problems
|
||||
return models.Status.objects.filter(
|
||||
reply_parent=status
|
||||
reply_parent=status,
|
||||
deleted=False,
|
||||
).select_subclasses().all()[:10]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue