diff --git a/webapp_post.py b/webapp_post.py index 9d6349a77..d4fe01d1c 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -850,6 +850,20 @@ def replyToYourselfHtml(translate: {}, iconsPath: str) -> str: '/reply.png" class="announceOrReply"/>\n' +def replyToUnknownHtml(translate: {}, iconsPath: str, + postJsonObject: {}) -> str: + """Returns the html title for a reply to an unknown handle + """ + return ' ' + \
+        translate['replying to'] + '\n' + \ + ' @unknown\n' + + def getPostTitleReplyHtml(baseDir: str, httpPrefix: str, nickname: str, domain: str, @@ -1007,16 +1021,7 @@ def getPostTitleReplyHtml(baseDir: str, replyDomain + '\n' else: titleStr += \ - ' ' + \
-                translate['replying to'] + \
-                '\n' + \ - ' @unknown\n' + replyToUnknownHtml(translate, iconsPath, postJsonObject) else: postDomain = \ postJsonObject['object']['inReplyTo']