Only use conversation view for replies

main
Bob Mottram 2022-12-23 22:27:36 +00:00
parent 6ebb6d45a9
commit 70123e1339
1 changed files with 5 additions and 3 deletions

View File

@ -1556,9 +1556,11 @@ def _get_footer_with_icons(show_icons: bool,
reply_str + announce_str + like_str + bookmark_str + reaction_str
footer_str += delete_str + mute_str + edit_str
if not is_news_post(post_json_object):
footer_str += ' <a href="/users/' + \
nickname + '?convthread=' + \
published_link.replace('/', '--') + '" class="' + \
date_link = published_link
if post_json_object['object'].get('inReplyTo'):
date_link = '/users/' + nickname + '?convthread=' + \
published_link.replace('/', '--')
footer_str += ' <a href="' + date_link + '" class="' + \
time_class + '" tabindex="10"><span itemprop="datePublished">' + \
published_str + '</span></a>\n'
else: