From 9f75c9ed0dd7f3d5d93654ff9a2c910419757f12 Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 10 May 2024 11:21:18 +0200 Subject: [PATCH] Filter boosts from account status --- src/main/dda/masto_embed/account_mode.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/dda/masto_embed/account_mode.cljs b/src/main/dda/masto_embed/account_mode.cljs index e12135e..8938618 100644 --- a/src/main/dda/masto_embed/account_mode.cljs +++ b/src/main/dda/masto_embed/account_mode.cljs @@ -57,11 +57,12 @@ (edn (filter #(= account-name (:acct %))) - (infra/debug) (map :id) first))) out)) +; (infra/debug) + (defn account-mode [host-url account-name] (go (let [account-id (edn)] (->> statuus + (filter #(= nil (:reblog %))) (take 4) (masto->html) (render-html)