damus.io

damus.io website
git clone git://jb55.com/damus.io
Log | Files | Refs | README

commit 64d4dde5dff87d6c40dfff100b753cbff6408961
parent c11fb924d90d2643d1ed516b238e9f2251c5d8e5
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  4 Nov 2022 10:59:35 -0700

render threads at max depth 3 for now

Diffstat:
Mwebv2/damus.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webv2/damus.js b/webv2/damus.js @@ -486,7 +486,7 @@ function render_home_view(model) { function render_events(model) { return model.events .filter((ev, i) => i < 140) - .map((ev) => render_event(model, ev)).join("\n") + .map((ev) => render_event(model, ev, {max_depth: 3})).join("\n") } function determine_event_refs_positionally(pubkeys, ids)