mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-22 08:11:28 +00:00
fix: next page not working
This commit is contained in:
parent
c5d64e621e
commit
5e47e1677c
|
@ -309,7 +309,7 @@ thread_menu()
|
||||||
|
|
||||||
timeline_api()
|
timeline_api()
|
||||||
{
|
{
|
||||||
default_curl_opt "$instance_point/$timeline?limit=$max_statuses&max_id=$1" | tee preload
|
default_curl_opt "$instance_point/$timeline?limit=$max_statuses&max_id=$1&min_id=$2" | tee preload
|
||||||
}
|
}
|
||||||
|
|
||||||
timeline_menu()
|
timeline_menu()
|
||||||
|
@ -359,7 +359,7 @@ timeline_menu()
|
||||||
echo '#EXTM3U' > attachments.m3u8
|
echo '#EXTM3U' > attachments.m3u8
|
||||||
clear
|
clear
|
||||||
offset=$(jj -i preload 0.id)
|
offset=$(jj -i preload 0.id)
|
||||||
json=$(timeline_api $offset)
|
json=$(timeline_api '' $offset)
|
||||||
;;
|
;;
|
||||||
"Reply")
|
"Reply")
|
||||||
echo 'Input id'
|
echo 'Input id'
|
||||||
|
|
Loading…
Reference in a new issue