forked from indymedia/epicyon
Check that nickname exists
parent
f8cee3f847
commit
99828da5ec
|
@ -56,7 +56,8 @@ def individualPostAsHtml(postJsonObject: {}) -> str:
|
|||
if '/statuses/' in postJsonObject['object']['inReplyTo']:
|
||||
replyNickname=getNicknameFromActor(postJsonObject['object']['inReplyTo'])
|
||||
replyDomain,replyPort=getDomainFromActor(postJsonObject['object']['inReplyTo'])
|
||||
titleStr+=' <i>replying to</i> <a href="'+postJsonObject['object']['inReplyTo']+'">@'+replyNickname+'@'+replyDomain+'</a>'
|
||||
if replyNickname and replyDomain:
|
||||
titleStr+=' <i>replying to</i> <a href="'+postJsonObject['object']['inReplyTo']+'">@'+replyNickname+'@'+replyDomain+'</a>'
|
||||
else:
|
||||
titleStr+=' <i>replying to</i> '+postJsonObject['object']['inReplyTo']
|
||||
attachmentStr=''
|
||||
|
|
Loading…
Reference in New Issue