mirror of
https://github.com/netzbegruenung/mastodon-bot.git
synced 2024-05-04 03:43:41 +02:00
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
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue