web: remove complex logic from notifications
This is preventing likes from coming through
This commit is contained in:
parent
175580b2ae
commit
efb931163d
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue