Only show creates or announces

merge-requests/21/head
Bob Mottram 2021-03-05 15:45:03 +00:00
parent 8689b634d6
commit 3d3dc3c7f5
1 changed files with 1 additions and 2 deletions

View File

@ -672,8 +672,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# show each post in the timeline
for item in timelineJson['orderedItems']:
if item['type'] == 'Create' or \
item['type'] == 'Announce' or \
item['type'] == 'Update':
item['type'] == 'Announce':
# is the actor who sent this post snoozed?
if isPersonSnoozed(baseDir, nickname, domain, item['actor']):
continue