Fix condition; TODO: make followings requests handle

This commit is contained in:
localhost_frssoft 2022-04-20 13:21:39 +03:00
parent b11356a0cf
commit 5eeb8c2984

View file

@ -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"