Skip to content

Commit

Permalink
hide undo activities from feeds
Browse files Browse the repository at this point in the history
for #768
  • Loading branch information
snarfed committed Dec 27, 2023
1 parent 2c31761 commit 79ffc88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ def serve_feed(*, objects, format, user, title, as_snippets=False, quiet=False):
objects = [obj for obj in objects if not obj.deleted]
if quiet:
objects = [obj for obj in objects if obj.type not in
('follow', 'stop-following', 'like', 'share', 'update')]
('delete', 'follow', 'stop-following', 'like', 'share',
'undo', 'update')]

if as_snippets:
activities = [{
Expand Down

0 comments on commit 79ffc88

Please sign in to comment.