Poll: visible variants in post

This commit is contained in:
localhost_frssoft 2022-05-23 11:29:00 +03:00
parent d203791dfa
commit c4313c595d

View file

@ -492,6 +492,12 @@ statuses_render()
menuattachments='\nMedia'
echo "$attachments" | tee -a attachments.m3u8
fi
poll=$(echo "$status" | jj poll.id)
if [ -n "$poll" ]; then
echo '[Poll:]'
echo "$(echo "$status" | jj -l 'poll.options.#.title')"
fi
echo "$statuses_separator"
if [ "$per_status_mode" = 'true' ]; then
next=0