From fd21b04bc1bc1ee731bc06605095d34280fe776f Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Tue, 12 Apr 2022 01:05:58 +0300 Subject: [PATCH] Fix: reload timeline --- pleroma-cli.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pleroma-cli.sh b/pleroma-cli.sh index 2a4e254..984d3fe 100755 --- a/pleroma-cli.sh +++ b/pleroma-cli.sh @@ -90,16 +90,17 @@ timeline_menu() indexator=$(expr $indexator - 1) echo '_____' done - indexator=$(expr $max_statuses - 1) menu=$(echo 'Prev\nNext\nShare\nMain menu' | fzy) case $menu in "Prev") + indexator=$(expr $max_statuses - 1) echo '#EXTM3U' > attachments.m3u8 clear offset=$(jj -i preload 39.id) json=$(timeline_api $offset) ;; "Next") + indexator=$(expr $max_statuses - 1) echo '#EXTM3U' > attachments.m3u8 clear offset=$(jj -i preload 0.id)