mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-24 23:11:28 +00:00
Implement full reverse statuses (use with caution!)
This commit is contained in:
parent
feb13c82eb
commit
d721fdc833
|
@ -541,7 +541,7 @@ statuses_view_menu()
|
|||
ids_massive=$(echo "$json" | jj -l \#.id | delq)
|
||||
jsonmassive=$json
|
||||
statuses_render
|
||||
menustatuses=$(echo 'Prev\nNext\nReply\nShare\nFavorite\nShare and favorite\nThread\nBack' | fzy)
|
||||
menustatuses=$(echo 'Prev\nNext\nReverse\nReply\nShare\nFavorite\nShare and favorite\nThread\nBack' | fzy)
|
||||
case "$menustatuses" in
|
||||
"Back") sub_menu_lvl=1 ;;
|
||||
"Prev")
|
||||
|
@ -557,6 +557,10 @@ statuses_view_menu()
|
|||
offset=$(echo "$json" | jj 0.id)
|
||||
json=$(statuses_api_account "$1" '' "$offset")
|
||||
;;
|
||||
"Reverse")
|
||||
offset=1
|
||||
json=$(statuses_api_account "$1" '' "$offset")
|
||||
;;
|
||||
"Reply") reply_mode ;;
|
||||
"Share") share_mode ;;
|
||||
"Favorite") favourite_mode ;;
|
||||
|
|
Loading…
Reference in a new issue