damus.io

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

commit efb931163d3e19f13fc6b1b02c9c160f8a5d517b
parent 175580b2ae817a7d1640a67560dd9a0745aab3c3
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 19 Nov 2022 12:24:23 -0800

web: remove complex logic from notifications

This is preventing likes from coming through

Diffstat:
Mweb/js/damus.js | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/web/js/damus.js b/web/js/damus.js @@ -346,12 +346,6 @@ function should_add_to_notification_timeline(our_pk, contacts, ev, pow) if (!should_add_to_timeline(ev)) return false - if (our_pk === ev.pubkey) - return false - - if (our_pk !== ev.pubkey && contacts.friends.has(ev.pubkey)) - return true - // TODO: add items that don't pass spam filter to "message requests" // Then we will need a way to whitelist people as an alternative to // following them