From 6d22fea77c30425c8db908407797f9c2516f02c1 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Mon, 9 May 2022 17:56:06 +0300 Subject: [PATCH] Fix mentions again... --- pleroma-cli.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pleroma-cli.sh b/pleroma-cli.sh index 4c93686..372febe 100755 --- a/pleroma-cli.sh +++ b/pleroma-cli.sh @@ -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")