preload file deprecated; boost acct show

This commit is contained in:
localhost_frssoft 2022-04-16 00:38:58 +03:00
parent bf4e53e8ad
commit 0060e6282d
1 changed files with 5 additions and 4 deletions

View File

@ -326,6 +326,7 @@ statuses_render()
whoacct=$(echo $status | jj account.acct)
reblog=$(echo $status | jj reblog.id)
reblogacct=$(echo $status | jj reblog.account.acct)
uri=$(echo $status | jj uri)
id_status=$(echo $status | jj id)
dateutc=$(echo $status | jj created_at)
@ -337,7 +338,7 @@ statuses_render()
echo "| Reply to: $reply_to_id"
fi
if [ -n "$reblog" ]; then
echo "| $boost_symbol $reblog"
echo "| $boost_symbol $reblog $reblogacct"
fi
spoiler_text=$(echo "$status" | jj spoiler_text)
if [ -n "$spoiler_text" ]; then
@ -426,7 +427,7 @@ thread_menu()
timeline_api()
{
default_curl_opt "$instance_point/$timeline?limit=$max_statuses&max_id=$1&min_id=$2" | tee preload
default_curl_opt "$instance_point/$timeline?limit=$max_statuses&max_id=$1&min_id=$2"
}
timeline_menu()
@ -444,13 +445,13 @@ timeline_menu()
indexator=$(expr $max_statuses - 1)
echo '#EXTM3U' > attachments.m3u8
clear
offset=$(jj -i preload $indexator.id)
offset=$(echo $json | jj $indexator.id)
json=$(timeline_api $offset)
;;
"Next")
echo '#EXTM3U' > attachments.m3u8
clear
offset=$(jj -i preload 0.id)
offset=$(echo $json | jj 0.id)
json=$(timeline_api '' $offset)
;;
"Reply") reply_mode ;;