Fix mentions again...

This commit is contained in:
localhost_frssoft 2022-05-09 17:56:06 +03:00
parent 713ec5b487
commit 6d22fea77c
1 changed files with 3 additions and 3 deletions

View File

@ -662,9 +662,9 @@ reply_mode()
echo "$reply_status" | jj -r content | html_to_txt_render | delqse | sed 's/^/> /' > tmp_status.md
fi
if [ "$copy_mentions" = 'true' ]; then
mentions_reply=$(echo "$reply_status" | jj -l 'mentions.#.acct' | delq | legacy_addr_preprocess)
mentions_reply=$(echo "$reply_status" | jj -l 'mentions.#.acct' | delq)
mentions_reply="$mentions_reply\n"
acct_selfstatus=$(echo "$reply_status" | jj account.acct | legacy_addr_preprocess)
acct_selfstatus=$(echo "$reply_status" | jj account.acct)
mentions_reply=$(echo "$mentions_reply""$acct_selfstatus" | sort -u | tr '\n' ',' | sed -e 's/,$//g; s/^,//g')
fi
write_status_menu "$(echo "$reply_status" | jj id)"
@ -814,7 +814,7 @@ write_status_menu()
read mediaattach
;;
"Add recipient")
echo 'Input addr (ex. nick@domain.domain,etc@domain.domain)'
echo 'Input addr (ex. nick,nick_etc@domain.domain)'
read mentions_reply ;;
"Change type") content_type=$(echo 'text/plain\ntext/markdown\ntext/html' | fzy) ;;
"Visiblity")