forked from indymedia/epicyon
Don't repeat name for self-boosts
parent
90810269e2
commit
42b60e3192
|
@ -1793,6 +1793,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
if showRepeatIcon:
|
if showRepeatIcon:
|
||||||
if isAnnounced:
|
if isAnnounced:
|
||||||
if postJsonObject['object'].get('attributedTo'):
|
if postJsonObject['object'].get('attributedTo'):
|
||||||
|
if postJsonObject['object']['attributedTo'].startswith(postJsonObject['actor']):
|
||||||
|
titleStr+=' <img src="/'+iconsDir+'/repeat_inactive.png" class="announceOrReply"/>'
|
||||||
|
else:
|
||||||
announceNickname=getNicknameFromActor(postJsonObject['object']['attributedTo'])
|
announceNickname=getNicknameFromActor(postJsonObject['object']['attributedTo'])
|
||||||
if announceNickname:
|
if announceNickname:
|
||||||
announceDomain,announcePort=getDomainFromActor(postJsonObject['object']['attributedTo'])
|
announceDomain,announcePort=getDomainFromActor(postJsonObject['object']['attributedTo'])
|
||||||
|
|
Loading…
Reference in New Issue