Distinuguish between dm and followers only

main
Bob Mottram 2020-02-11 09:42:11 +00:00
parent 80c16e39b0
commit 7e21639ede
1 changed files with 4 additions and 2 deletions

View File

@ -2249,9 +2249,11 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
showRepeatIcon=showRepeats showRepeatIcon=showRepeats
showDMicon=False showDMicon=False
if showRepeats: if showRepeats:
if isDM(postJsonObject):
showDMicon=True
else:
if not isPublicPost(postJsonObject): if not isPublicPost(postJsonObject):
showRepeatIcon=False showRepeatIcon=False
showDMicon=True
titleStr='' titleStr=''
galleryStr='' galleryStr=''