From 80c16e39b04a21a67084ce082ab24a149ae93ef7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 11 Feb 2020 09:38:30 +0000 Subject: [PATCH] Don't show repeat icon on followers only posts --- webinterface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index cbb34e3e8..2ff8c20f3 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2150,6 +2150,7 @@ def postIsMuted(baseDir: str,nickname: str,domain: str, postJsonObject: {},messa return True return False + def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ iconsDir: str,translate: {}, \ pageNumber: int,baseDir: str, \ @@ -2248,7 +2249,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ showRepeatIcon=showRepeats showDMicon=False if showRepeats: - if isDM(postJsonObject): + if not isPublicPost(postJsonObject): showRepeatIcon=False showDMicon=True