web/explore: if pow filtering is disabled, remove friends
Otherwise the explore timeline looks just like the home timeline
This commit is contained in:
parent
ae6102b4f6
commit
a78858629e
2 changed files with 6 additions and 2 deletions
|
@ -357,6 +357,10 @@ function should_add_to_explore_timeline(contacts, view, ev, pow)
|
|||
if (view.seen.has(ev.pubkey))
|
||||
return false
|
||||
|
||||
// hide friends for 0-pow situations
|
||||
if (pow === 0 && contacts.friends.has(ev.pubkey))
|
||||
return false
|
||||
|
||||
return passes_spam_filter(contacts, ev, pow)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue