mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-12-03 18:06:36 +00:00
fixed search; per status mode still recomended enable
This commit is contained in:
parent
171448a20b
commit
feb13c82eb
|
@ -5,7 +5,7 @@
|
|||
"i2p_http_proxy_addr": "http://127.0.0.1:4444",
|
||||
"tor_proxy_addr": "socks5://127.0.0.1:9050",
|
||||
"max_statuses": 40,
|
||||
"per_status_mode": false,
|
||||
"per_status_mode": true,
|
||||
"enabled_nsfw": true,
|
||||
"nsfw_only": false,
|
||||
"hide_reblogs": false,
|
||||
|
|
|
@ -622,7 +622,11 @@ search_api_statuses()
|
|||
{
|
||||
echo "Input query:"
|
||||
read query
|
||||
results=$(default_curl_opt "$instance_point/search?q=$query&type=statuses" | jj 'statuses')
|
||||
results=$(default_curl_opt --get \
|
||||
--data-urlencode "q=$query" \
|
||||
--data-urlencode 'type=statuses' \
|
||||
--data-urlencode "limit=$max_statuses" \
|
||||
"$instance_point/search" | jj 'statuses')
|
||||
timeline='search' timeline_menu
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue