Post titles don't need quoting now...
This commit is contained in:
parent
75e21e8ef1
commit
8ce0d69654
|
@ -52,7 +52,7 @@ notifs2(){ getauth "user/mention"; }
|
||||||
following(){ getauth "post/list" ".posts | $posts" "type_=Subscribed"; }
|
following(){ getauth "post/list" ".posts | $posts" "type_=Subscribed"; }
|
||||||
comments(){ getauth "post" "(.post_view | $showpost), (.comments | reverse | $comments)" "id=$1"; }
|
comments(){ getauth "post" "(.post_view | $showpost), (.comments | reverse | $comments)" "id=$1"; }
|
||||||
#Postan
|
#Postan
|
||||||
freepost(){ getbody; post "post" "{\"community_id\":$1,\"name\":\"$2\",\"body\":\"$body\"}"; }
|
freepost(){ getbody; post "post" "{\"community_id\":$1,\"name\":\"${*:2}\",\"body\":\"$body\"}"; }
|
||||||
shitpost(){ getbody; postid=$1; parentid=$2; post "comment" "{\"post_id\":$postid,\"parent_id\":$parentid,\"content\":\"$body\"}"; }
|
shitpost(){ getbody; postid=$1; parentid=$2; post "comment" "{\"post_id\":$postid,\"parent_id\":$parentid,\"content\":\"$body\"}"; }
|
||||||
#Post hoardan
|
#Post hoardan
|
||||||
save(){ put "post/save" "{\"post_id\":$1,\"save\":true}"; }
|
save(){ put "post/save" "{\"post_id\":$1,\"save\":true}"; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user