Don't show profile for news posts

merge-requests/8/head
Bob Mottram 2020-10-25 22:36:25 +00:00
parent 1b72e03584
commit 99fe61f5b7
1 changed files with 0 additions and 5 deletions

View File

@ -4529,11 +4529,6 @@ def individualPostAsHtml(allowDownloads: bool,
' <img loading="lazy" src="' + avatarUrl + '" title="' + \
translate['Show profile'] + '" alt=" "' + avatarPosition + \
'/></a>\n'
else:
avatarLink += \
' <img loading="lazy" src="' + avatarUrl + '" title="' + \
translate['Show profile'] + '" alt=" "' + avatarPosition + \
'/>\n'
if showAvatarOptions and \
fullDomain + '/users/' + nickname not in postActor: