mirror of https://gitlab.com/bashrc2/epicyon
Sow repeats within hashtag search
parent
717411fe7b
commit
6ed5eb0615
|
@ -1043,12 +1043,18 @@ def _getPostTitleHtml(baseDir: str,
|
||||||
"""Returns the title of a post containing names of participants
|
"""Returns the title of a post containing names of participants
|
||||||
x replies to y, x announces y, etc
|
x replies to y, x announces y, etc
|
||||||
"""
|
"""
|
||||||
titleStr = ''
|
# titleStr = ''
|
||||||
replyAvatarImageInPost = ''
|
# replyAvatarImageInPost = ''
|
||||||
# if not showRepeatIcon:
|
# if not showRepeatIcon:
|
||||||
# return (titleStr, replyAvatarImageInPost,
|
# return (titleStr, replyAvatarImageInPost,
|
||||||
# containerClassIcons, containerClass)
|
# 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:
|
if isAnnounced:
|
||||||
return _getPostTitleAnnounceHtml(baseDir,
|
return _getPostTitleAnnounceHtml(baseDir,
|
||||||
httpPrefix,
|
httpPrefix,
|
||||||
|
|
Loading…
Reference in New Issue