Fix reply to status

This commit is contained in:
localhost_frssoft 2022-08-04 03:15:40 +03:00
parent 059831d9d5
commit e4640ba6e1

View file

@ -700,9 +700,10 @@ reply_mode()
read status_id read status_id
reply_status=$(status_api_one "$status_id") reply_status=$(status_api_one "$status_id")
fi fi
if [ "$quoting_reply" = 'true' && "$2" = '' ]; then if [ "$quoting_reply" = 'true' ]; then
echo "$reply_status" | jj -r content | html_to_txt_render | delqse | sed 's/^/> /' > tmp_status.md echo "$reply_status" | jj -r content | html_to_txt_render | delqse | sed 's/^/> /' > tmp_status.md
elif [ "$2" = '1' ]; then fi
if [ "$2" = '1' ]; then
echo "$reply_status" | jj -r content | html_to_txt_render | delqse > tmp_status.md echo "$reply_status" | jj -r content | html_to_txt_render | delqse > tmp_status.md
fi fi
if [ "$copy_mentions" = 'true' ]; then if [ "$copy_mentions" = 'true' ]; then