mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-27 20:41:27 +00:00
Fix reply to status
This commit is contained in:
parent
059831d9d5
commit
e4640ba6e1
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue