forked from indymedia/epicyon
Don't show repeat icon on followers only posts
parent
4d5b75c982
commit
80c16e39b0
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue