Don't show repeat icon on followers only posts

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

View File

@ -2150,6 +2150,7 @@ def postIsMuted(baseDir: str,nickname: str,domain: str, postJsonObject: {},messa
return True return True
return False return False
def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
iconsDir: str,translate: {}, \ iconsDir: str,translate: {}, \
pageNumber: int,baseDir: str, \ pageNumber: int,baseDir: str, \
@ -2248,7 +2249,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
showRepeatIcon=showRepeats showRepeatIcon=showRepeats
showDMicon=False showDMicon=False
if showRepeats: if showRepeats:
if isDM(postJsonObject): if not isPublicPost(postJsonObject):
showRepeatIcon=False showRepeatIcon=False
showDMicon=True showDMicon=True