Compare commits
No commits in common. "1821e2bf087007f968dbec9e949144371f08037b" and "93b1faff6acb4a484d6315c9c632eb5374861006" have entirely different histories.
1821e2bf08
...
93b1faff6a
1 changed files with 2 additions and 5 deletions
|
@ -41,7 +41,7 @@
|
|||
[:li {:class "list-group-item, card"}
|
||||
[:div {:class "card-body"}
|
||||
[: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 :hour-minute-second) date)]]
|
||||
[:p {:class "card-text"}
|
||||
|
@ -57,12 +57,11 @@
|
|||
(<p! (api/get-directory host-url))
|
||||
api/mastojs->edn
|
||||
(filter #(= account-name (:acct %)))
|
||||
(infra/debug)
|
||||
(map :id)
|
||||
first)))
|
||||
out))
|
||||
|
||||
; (infra/debug)
|
||||
|
||||
(defn account-mode [host-url account-name]
|
||||
(go
|
||||
(let [account-id (<! (find-account-id host-url account-name))
|
||||
|
@ -70,8 +69,6 @@
|
|||
(<p! (api/get-account-statuses host-url account-id))
|
||||
api/mastojs->edn)]
|
||||
(->> statuus
|
||||
(filter #(= nil (:reblog %)))
|
||||
(filter #(= nil (:in_reply_to_account_id %)))
|
||||
(take 4)
|
||||
(masto->html)
|
||||
(render-html)
|
||||
|
|
Loading…
Reference in a new issue