twitter: fix include-rts/include-replies logic
The first problem was that the variable names were switched, the second was that the API variable is named "exclude_replies" while the config option is named "include_replies?", so a negation is needed.
This commit is contained in:
parent
e2c9edcec5
commit
14e5b0c712
1 changed files with 2 additions and 2 deletions
|
@ -192,8 +192,8 @@
|
|||
"statuses/user_timeline"
|
||||
#js {:screen_name account
|
||||
:tweet_mode "extended"
|
||||
:include_rts (boolean include-replies?)
|
||||
:exclude_replies (boolean include-rts?)}
|
||||
:include_rts (boolean include-rts?)
|
||||
:exclude_replies (not (boolean include-replies?))}
|
||||
(post-tweets last-post-time)))))
|
||||
;;post from Tumblr
|
||||
(when-let [{:keys [access-keys accounts limit tumblr-oauth]} (:tumblr config)]
|
||||
|
|
Reference in a new issue