From 5eeb8c29842c1934403496bb34aa522a06a6b0c3 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Wed, 20 Apr 2022 13:21:39 +0300 Subject: [PATCH] Fix condition; TODO: make followings requests handle --- pleroma-cli.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pleroma-cli.sh b/pleroma-cli.sh index c8656dc..a9758e9 100755 --- a/pleroma-cli.sh +++ b/pleroma-cli.sh @@ -275,6 +275,11 @@ followings_menu() done } +following_requests() +{ + echo 'TODO: make followings requests handle' +} + blocks_api_get() { default_curl_opt "$instance_point/blocks?limit=40&max_id=$offset" @@ -338,7 +343,7 @@ statuses_render() reply_to_id=$(echo "$status" | jj in_reply_to_id) visibility_status=$(echo "$status" | jj visibility) s_f_menu='\nShare and favorite\nShare' - if [ "$visibility_status" = "private" ] | [ "$visibility_status" = "direct" ]; then + if [ "$visibility_status" = "private" ] || [ "$visibility_status" = "direct" ]; then s_f_menu= fi echo "| $(date -d "$dateutc" "$format_time") $visibility_status $whoacct"