damus.io

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

commit 4a862053e0185cb8dc775ec5245c44400d04254e
parent 25206b59642f07341a05f01e97a46ca9ed625cc2
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 30 Oct 2022 11:20:59 -0700

fix reaction sometimes not appearing

Diffstat:
Mwebv2/damus.js | 2+-
Mwebv2/index.html | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/webv2/damus.js b/webv2/damus.js @@ -134,7 +134,7 @@ function process_reaction_event(model, ev) last[tag[0]] = tag[1] } - if (last.e && last.p) { + if (last.e) { model.reactions_to[last.e] = model.reactions_to[last.e] || new Set() model.reactions_to[last.e].add(ev.id) } diff --git a/webv2/index.html b/webv2/index.html @@ -41,7 +41,7 @@ <script src="noble-secp256k1.js?v=1"></script> <script src="bech32.js?v=1"></script> <script src="nostr.js?v=6"></script> - <script src="damus.js?v=34"></script> + <script src="damus.js?v=36"></script> <script> // I have to delay loading to wait for nos2x const relay = setTimeout(damus_web_init, 100)