Don't show repeat icon on DMs in the inbox timeline

master
Bob Mottram 2019-08-25 18:49:07 +01:00
parent 3ee6420fac
commit 1426fdb5d7
1 changed files with 5 additions and 0 deletions

View File

@ -1092,6 +1092,11 @@ def individualPostAsHtml(baseDir: str, \
showIcons=False) -> str:
""" Shows a single post as html
"""
# If this is the inbox timeline then don't show the repeat icon on any DMs
if showRepeats:
if isDM(postJsonObject):
showRepeats=False
titleStr=''
isAnnounced=False
if postJsonObject['type']=='Announce':