forked from indymedia/epicyon
Don't show repeat icon on DMs in the inbox timeline
parent
3ee6420fac
commit
1426fdb5d7
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue