mirror of
https://git.phreedom.club/localhost_frssoft/bbs-telnet
synced 2024-11-23 13:39:20 +02:00
workaround for /n to \n
This commit is contained in:
parent
2bfe5c5a4a
commit
7ada3bd252
|
@ -1,7 +1,8 @@
|
|||
#/bin/sh
|
||||
|
||||
toot(){
|
||||
curl -s -X POST -F in_reply_to_id=$reply -F status="$1" -F visibility='unlisted' -H "Authorization: Bearer $instance_token" https://$instance/api/v1/statuses
|
||||
message="$(echo "$1" | sed -e 's!/n!\n!g')" # Just my android keyboard too dumb and far
|
||||
curl -s -X POST -F in_reply_to_id=$reply -F status="$message" -F visibility='unlisted' -H "Authorization: Bearer $instance_token" https://$instance/api/v1/statuses
|
||||
}
|
||||
|
||||
timeline_render(){
|
||||
|
|
Loading…
Reference in New Issue