fix mastodon bug

master
jem 4 years ago
parent bcf1e8a30a
commit a794ead21c

@ -162,7 +162,7 @@
items any?] items any?]
(doseq [{:keys [text media-links]} (doseq [{:keys [text media-links]}
(->> items (->> items
(remove #((blocked-content? mastodon-config (:text %)))) (remove #(blocked-content? mastodon-config (:text %)))
(filter #(> (:created-at %) last-post-time)))] (filter #(> (:created-at %) last-post-time)))]
(if media-links (if media-links
(post-status-with-images mastodon-config text media-links) (post-status-with-images mastodon-config text media-links)