Like button only highlighted if the reader likes the post

main
Bob Mottram 2020-09-05 12:15:09 +01:00
parent e61bf9bed1
commit 07a07d877a
1 changed files with 1 additions and 1 deletions

View File

@ -4219,8 +4219,8 @@ def individualPostAsHtml(allowDownloads: bool,
likeCountStr = ' (' + str(likeCount) + ')'
else:
likeCountStr = ' (10+)'
likeIcon = 'like.png'
if likedByPerson(postJsonObject, nickname, fullDomain):
likeIcon = 'like.png'
likeLink = 'unlike'
likeTitle = translate['Undo the like']