damus.io

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

commit 5e9a0f44ca7849db765016f6de3df717be28f6c8
parent 8c4d87a993abed1bfa62e551b625be7f53cb163c
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 18 Nov 2022 13:58:51 -0800

Revert "web: don't do complicated hiding logic"

This reverts commit 8c4d87a993abed1bfa62e551b625be7f53cb163c.

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

diff --git a/web/index.html b/web/index.html @@ -12,7 +12,7 @@ <script defer src="js/noble-secp256k1.js?v=1"></script> <script defer src="js/bech32.js?v=1"></script> <script defer src="js/nostr.js?v=6"></script> - <script defer src="js/damus.js?v=92"></script> + <script defer src="js/damus.js?v=91"></script> </head> <body> <script> diff --git a/web/js/damus.js b/web/js/damus.js @@ -1041,7 +1041,7 @@ function delete_post_confirm(evid) { } function shouldnt_render_event(our_pk, view, ev, opts) { - return opts.is_boost_event || opts.is_composing + return !opts.is_boost_event && !opts.is_composing && view.rendered.has(ev.id) } function press_logout() {