lbry-desktop/ui
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
..
component Comment Moderation - time based bans 2021-09-03 07:17:56 +08:00
constants Comment Moderation - time based bans 2021-09-03 07:17:56 +08:00
effects Fallback image for <FileThumbnail> 2021-08-17 19:46:54 -07:00
modal Restrict "Timeout" feature to content owners 2021-09-03 22:36:55 +08:00
page Blocklist Page: show the timeout ban duration 2021-09-03 07:17:57 +08:00
redux Run the extra app-side comment filter only if the claim is not ours. 2021-09-03 22:36:58 +08:00
scss Comment Moderation - time based bans 2021-09-03 07:17:56 +08:00
util Consider more live streams (#6974) 2021-08-27 10:57:54 -04:00
analytics.js watchman send dsk for desktop (#6916) 2021-08-19 13:18:21 -04:00
app.js
comments.js Comment Moderation - time based bans 2021-09-03 07:17:56 +08:00
i18n.js Revert "Simplify language lists" 2021-04-06 15:42:27 -04:00
index.jsx bugfix 2021-07-29 12:58:25 -04:00
logWarningConsoleMessage.js new lbc icon 2020-09-29 17:12:32 -04:00
native.js working 2020-12-16 10:52:22 -05:00
recsys.js recsys v0.2 (#6977) 2021-09-02 18:39:40 -04:00
reducers.js wip 2021-06-08 13:25:52 -04:00
rewards.js When a new reward is acquired, only close modals if the reward comes from reward_code 2021-01-08 08:16:41 -07:00
store.js sync edited playlists 2021-08-03 11:47:54 -04:00