Get reply actor

main2
Bob Mottram 2019-10-09 14:25:53 +01:00
parent 4ac811e584
commit 6111c596ad
1 changed files with 1 additions and 1 deletions

View File

@ -1762,7 +1762,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
titleStr+=' <img src="/'+iconsDir+'/reply.png" class="announceOrReply"/>'
else:
if '/statuses/' in postJsonObject['object']['inReplyTo']:
replyActor=replyActor.split('/statuses/')[0]
replyActor=postJsonObject['object']['inReplyTo'].split('/statuses/')[0]
replyNickname=getNicknameFromActor(replyActor)
if replyNickname:
replyDomain,replyPort=getDomainFromActor(replyActor)