Compare commits

..

No commits in common. "1821e2bf087007f968dbec9e949144371f08037b" and "93b1faff6acb4a484d6315c9c632eb5374861006" have entirely different histories.

View file

@ -41,7 +41,7 @@
[:li {:class "list-group-item, card"} [:li {:class "list-group-item, card"}
[:div {:class "card-body"} [:div {:class "card-body"}
[:h2 {:class "card-title"} [:h2 {:class "card-title"}
[:a {:href (get-in status [:card :url])} [:a {:href (get-in status [:account :url])}
(t/unparse (t/formatters :date) date) " " (t/unparse (t/formatters :date) date) " "
(t/unparse (t/formatters :hour-minute-second) date)]] (t/unparse (t/formatters :hour-minute-second) date)]]
[:p {:class "card-text"} [:p {:class "card-text"}
@ -57,12 +57,11 @@
(<p! (api/get-directory host-url)) (<p! (api/get-directory host-url))
api/mastojs->edn api/mastojs->edn
(filter #(= account-name (:acct %))) (filter #(= account-name (:acct %)))
(infra/debug)
(map :id) (map :id)
first))) first)))
out)) out))
; (infra/debug)
(defn account-mode [host-url account-name] (defn account-mode [host-url account-name]
(go (go
(let [account-id (<! (find-account-id host-url account-name)) (let [account-id (<! (find-account-id host-url account-name))
@ -70,8 +69,6 @@
(<p! (api/get-account-statuses host-url account-id)) (<p! (api/get-account-statuses host-url account-id))
api/mastojs->edn)] api/mastojs->edn)]
(->> statuus (->> statuus
(filter #(= nil (:reblog %)))
(filter #(= nil (:in_reply_to_account_id %)))
(take 4) (take 4)
(masto->html) (masto->html)
(render-html) (render-html)