Show annonce even if avatar is not available

merge-requests/30/head
Bob Mottram 2021-07-21 21:33:26 +01:00
parent e8fdcf70da
commit 0286294931
1 changed files with 15 additions and 14 deletions

View File

@ -825,7 +825,8 @@ def _getPostTitleAnnounceHtml(baseDir: str,
_logPostTiming(enableTimingLog, postStartTime, '13.4') _logPostTiming(enableTimingLog, postStartTime, '13.4')
if announceAvatarUrl: if not announceAvatarUrl:
announceAvatarUrl = ''
idx = 'Show options for this person' idx = 'Show options for this person'
if '/users/news/' not in announceAvatarUrl: if '/users/news/' not in announceAvatarUrl:
replyAvatarImageInPost = \ replyAvatarImageInPost = \