mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-22 02:01:27 +00:00
Some cosmetic fixes
This commit is contained in:
parent
6d22fea77c
commit
d203791dfa
|
@ -599,14 +599,15 @@ thread_menu()
|
|||
|
||||
timeline_api()
|
||||
{
|
||||
timelines_params="limit=$max_statuses&max_id=$1&min_id=$2"
|
||||
case "$timeline" in
|
||||
"home") default_curl_opt "$instance_point/timelines/home?limit=$max_statuses&max_id=$1&min_id=$2" ;;
|
||||
"home/local") default_curl_opt "$instance_point/timelines/home?local=true&limit=$max_statuses&max_id=$1&min_id=$2" ;;
|
||||
"favourites") default_curl_opt "$instance_point/favourites?limit=$max_statuses&max_id=$1&min_id=$2" ;;
|
||||
"bookmarks") default_curl_opt "$instance_point/bookmarks?limit=$max_statuses&max_id=$1&min_id=$2" ;;
|
||||
"direct") default_curl_opt "$instance_point/timelines/direct?limit=$max_statuses&max_id=$1&min_id=$2" ;;
|
||||
"public") default_curl_opt "$instance_point/timelines/public?limit=$max_statuses&max_id=$1&min_id=$2" ;;
|
||||
"local") default_curl_opt "$instance_point/timelines/public?local=true&limit=$max_statuses&max_id=$1&min_id=$2" ;;
|
||||
"home") default_curl_opt "$instance_point/timelines/home?$timelines_params" ;;
|
||||
"home/local") default_curl_opt "$instance_point/timelines/home?local=true&$timelines_params" ;;
|
||||
"favourites") default_curl_opt "$instance_point/favourites?$timelines_params" ;;
|
||||
"bookmarks") default_curl_opt "$instance_point/bookmarks?$timelines_params" ;;
|
||||
"direct") default_curl_opt "$instance_point/timelines/direct?$timelines_params" ;;
|
||||
"public") default_curl_opt "$instance_point/timelines/public?$timelines_params" ;;
|
||||
"local") default_curl_opt "$instance_point/timelines/public?local=true&$timelines_params" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
@ -815,7 +816,8 @@ write_status_menu()
|
|||
;;
|
||||
"Add recipient")
|
||||
echo 'Input addr (ex. nick,nick_etc@domain.domain)'
|
||||
read mentions_reply ;;
|
||||
read mentions_reply
|
||||
;;
|
||||
"Change type") content_type=$(echo 'text/plain\ntext/markdown\ntext/html' | fzy) ;;
|
||||
"Visiblity")
|
||||
status_visibility=$(echo 'public\nunlisted\nlocal\nprivate\ndirect\nlist' | fzy)
|
||||
|
|
Loading…
Reference in a new issue