fix mastodon bug

This commit is contained in:
jem 2020-05-15 19:26:14 +02:00
parent bcf1e8a30a
commit a794ead21c

View file

@ -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)