mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-02 18:59:53 +00:00
Check that nickname exists
This commit is contained in:
1 parent
f8cee3f847
commit
99828da5ec
1 file changed
+2
-1
+2
-1
@@ -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=''
|
||||
|
||||
Reference in new issue
Block a user