Set default post visibility to public

This commit is contained in:
arne 2024-01-06 11:25:28 +01:00
commit aef6e1f4c0

View file

@ -59,7 +59,8 @@
(defn send-toot! [text] (defn send-toot! [text]
(when (environment-setup?) (when (environment-setup?)
(http/post (str (:mastodon-instance env) "/api/v1/statuses") (http/post (str (:mastodon-instance env) "/api/v1/statuses")
{:form-params {:status text} {:form-params {:status text
:visiblity "public"}
:headers {"Authorization" (str "Bearer " (:access-token env))}})) :headers {"Authorization" (str "Bearer " (:access-token env))}}))
(log/info text)) (log/info text))