mirror of https://gitlab.com/bashrc2/epicyon
Line break at current point in conversation
parent
3d1226e0cb
commit
fec4b2d8be
|
@ -375,7 +375,4 @@ def download_conversation_posts(authorized: bool, session,
|
|||
if not get_json_valid(post_json_object):
|
||||
print(post_id + ' returned no json')
|
||||
|
||||
if replies_to_post:
|
||||
conversation_view += '<hr>\n' + replies_to_post
|
||||
|
||||
return conversation_view
|
||||
return conversation_view + replies_to_post
|
||||
|
|
|
@ -10,6 +10,7 @@ __module_group__ = "Timeline"
|
|||
|
||||
import os
|
||||
from conversation import download_conversation_posts
|
||||
from utils import remove_id_ending
|
||||
from utils import get_config_param
|
||||
from utils import get_nickname_from_actor
|
||||
from utils import get_domain_from_actor
|
||||
|
@ -125,6 +126,11 @@ def html_conversation_view(authorized: bool, post_id: str,
|
|||
minimize_all_images, None,
|
||||
buy_sites, auto_cw_cache)
|
||||
if post_str:
|
||||
if post_json_object.get('id'):
|
||||
if isinstance(post_json_object['id'], str):
|
||||
id_str = remove_id_ending(post_json_object['id'])
|
||||
if post_id in id_str:
|
||||
post_str += '<hr>\n'
|
||||
conv_str += text_mode_separator + separator_str + post_str
|
||||
|
||||
# if using a text mode browser then don't show SHOW MORE because there
|
||||
|
|
Loading…
Reference in New Issue