lbry-desktop/ui/redux/selectors
infinite-persistence bf8ab2e9ce
Run the extra app-side comment filter only if the claim is not ours.
## Preamble
- The app-side uses a cached blocklist, so when a Timeout expires, it doesn't know that the ban has been lifted.
- Meanwhile, we are doing extra comment filtering using this blocklist (so that we don't see comments that we have blocked, regardless of whose claim we are viewing).

## Issue
In a livestream, if a new message from an ex-offender comes in after their ban has been lifted, we do get the websocket message but it's being filtered out locally as mentioned above. So, the msg ended up being visible for everyone except the owner.

## Fix (band aid)
- Don't run the extra filter if the claim we are viewing is ours -- commentron would have filtered it for us anyways, and is the right logic to use even before this Timeout feature is introduced.
    - For the case of Timeout, this only serves as a band-aid until Commentron Issue 80 is available for us to detect the ban has been lifted. This is because it doesn't handle the case where I am a viewer and I decided to timeout someone for a few minutes. Because I am not the owner of the claim, the offender will continue to be blocked due to the same issue mentioned above.
2021-09-03 22:36:58 +08:00
..
app.js update livestream eligibilty 2021-04-12 11:17:17 -04:00
blocked.js New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
coinSwap.js CoinSwap: websocket + multi-coin 2021-04-13 14:02:25 -04:00
comments.js Run the extra app-side comment filter only if the claim is not ours. 2021-09-03 22:36:58 +08:00
content.js recsys v0.2 (#6977) 2021-09-02 18:39:40 -04:00
file_info.js working 2020-12-16 10:52:22 -05:00
livestream.js use commentron for live view counts 2021-06-17 14:58:55 -04:00
notifications.js fetch notofication/categories for notification types dropdown 2021-04-30 12:45:46 -04:00
publish.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
reactions.js fix dislike crash when no claim 2021-08-06 14:10:05 -04:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
rewards.js Automatically claim initial rewards (new_user & email_verified) when … (#6807) 2021-08-18 12:34:24 -04:00
search.js recsys v0.2 (#6977) 2021-09-02 18:39:40 -04:00
settings.js homepages v2 2021-07-14 14:09:46 -04:00
subscriptions.js fix colon handling 2021-07-15 17:48:02 -04:00
sync.js add fatal error handling when sync/get fails with unknown error 2020-11-13 14:48:04 -05:00
tags.js sync reducer stuff 2020-10-27 10:17:11 -04:00
user.js wip 2021-06-08 13:25:52 -04:00