diff --git a/pleroma-cli.sh b/pleroma-cli.sh index 2caa22d..85e8050 100755 --- a/pleroma-cli.sh +++ b/pleroma-cli.sh @@ -700,9 +700,10 @@ reply_mode() read status_id reply_status=$(status_api_one "$status_id") 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 - elif [ "$2" = '1' ]; then + fi + if [ "$2" = '1' ]; then echo "$reply_status" | jj -r content | html_to_txt_render | delqse > tmp_status.md fi if [ "$copy_mentions" = 'true' ]; then