mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-21 22:51:28 +00:00
Fix condition; TODO: make followings requests handle
This commit is contained in:
parent
b11356a0cf
commit
5eeb8c2984
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue