mirror of https://gitlab.com/bashrc2/epicyon
Don't repeat name for self-boosts
parent
90810269e2
commit
42b60e3192
|
@ -1793,6 +1793,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
|||
if showRepeatIcon:
|
||||
if isAnnounced:
|
||||
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'])
|
||||
if announceNickname:
|
||||
announceDomain,announcePort=getDomainFromActor(postJsonObject['object']['attributedTo'])
|
||||
|
|
Loading…
Reference in New Issue