From 1426fdb5d72998c9f9caf854ffbeacea3df5c598 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Aug 2019 18:49:07 +0100 Subject: [PATCH] Don't show repeat icon on DMs in the inbox timeline --- webinterface.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webinterface.py b/webinterface.py index e291d873..cda928c5 100644 --- a/webinterface.py +++ b/webinterface.py @@ -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':