Sow repeats within hashtag search

main
Bob Mottram 2021-07-21 22:23:19 +01:00
parent 717411fe7b
commit 6ed5eb0615
1 changed files with 8 additions and 2 deletions

View File

@ -1043,12 +1043,18 @@ def _getPostTitleHtml(baseDir: str,
"""Returns the title of a post containing names of participants
x replies to y, x announces y, etc
"""
titleStr = ''
replyAvatarImageInPost = ''
# titleStr = ''
# replyAvatarImageInPost = ''
# if not showRepeatIcon:
# return (titleStr, replyAvatarImageInPost,
# containerClassIcons, containerClass)
if not isAnnounced and boxName == 'search' and \
postJsonObject.get('object'):
if postJsonObject['object'].get('attributedTo'):
if postJsonObject['object']['attributedTo'] != postActor:
isAnnounced = True
if isAnnounced:
return _getPostTitleAnnounceHtml(baseDir,
httpPrefix,