From 48b66abcbbef664e0ae5650e8da995b7144bc58b Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Sat, 23 Nov 2019 11:38:11 +0100 Subject: [PATCH] Reverse the order of items --- mastodon-bot.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mastodon-bot.cljs b/mastodon-bot.cljs index 45ba57d..ba8da99 100755 --- a/mastodon-bot.cljs +++ b/mastodon-bot.cljs @@ -128,7 +128,8 @@ (defn post-items [last-post-time items] (doseq [{:keys [text media-links]} (->> items (remove #(blocked-content? (:text %))) - (filter #(> (:created-at %) last-post-time)))] + (filter #(> (:created-at %) last-post-time)) + (reverse))] ;; reverse the items (if media-links (post-status-with-images text media-links) (when-not (:media-only? mastodon-config)