forked from mirrors/bookwyrm
Filter out deleted statuses in feed
This commit is contained in:
parent
704e1092c4
commit
48df06aea7
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ def get_activity_feed(user, filter_level, model=models.Status):
|
||||||
|
|
||||||
activities = model
|
activities = model
|
||||||
if hasattr(model, 'objects'):
|
if hasattr(model, 'objects'):
|
||||||
activities = model.objects
|
activities = model.objects.filter(deleted=False)
|
||||||
|
|
||||||
activities = activities.order_by(
|
activities = activities.order_by(
|
||||||
'-created_date'
|
'-created_date'
|
||||||
|
|
Loading…
Reference in a new issue