From 7e21639ede010162f8776ea7b79f18302856be78 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 11 Feb 2020 09:42:11 +0000 Subject: [PATCH] Distinuguish between dm and followers only --- webinterface.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index 2ff8c20f..cfc96fd0 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2249,9 +2249,11 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ showRepeatIcon=showRepeats showDMicon=False if showRepeats: - if not isPublicPost(postJsonObject): - showRepeatIcon=False + if isDM(postJsonObject): showDMicon=True + else: + if not isPublicPost(postJsonObject): + showRepeatIcon=False titleStr='' galleryStr=''