diff --git a/webapp_post.py b/webapp_post.py index e87c76675..c14cf8035 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -825,20 +825,21 @@ def _getPostTitleAnnounceHtml(baseDir: str, _logPostTiming(enableTimingLog, postStartTime, '13.4') - if announceAvatarUrl: - idx = 'Show options for this person' - if '/users/news/' not in announceAvatarUrl: - replyAvatarImageInPost = \ - '
\n' \ - ' ' \ - ' \n
\n' + if not announceAvatarUrl: + announceAvatarUrl = '' + idx = 'Show options for this person' + if '/users/news/' not in announceAvatarUrl: + replyAvatarImageInPost = \ + '
\n' \ + ' ' \ + ' \n
\n' return (titleStr, replyAvatarImageInPost, containerClassIcons, containerClass)