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 done
} }
following_requests()
{
echo 'TODO: make followings requests handle'
}
blocks_api_get() blocks_api_get()
{ {
default_curl_opt "$instance_point/blocks?limit=40&max_id=$offset" 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) reply_to_id=$(echo "$status" | jj in_reply_to_id)
visibility_status=$(echo "$status" | jj visibility) visibility_status=$(echo "$status" | jj visibility)
s_f_menu='\nShare and favorite\nShare' 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= s_f_menu=
fi fi
echo "| $(date -d "$dateutc" "$format_time") $visibility_status $whoacct" echo "| $(date -d "$dateutc" "$format_time") $visibility_status $whoacct"