Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: block black listed content from the app #1361

Merged
merged 3 commits into from Apr 20, 2018
Merged

Conversation

IGassmann
Copy link
Contributor

No description provided.

@@ -52,6 +52,10 @@ export const SUPPORT_TRANSACTION_FAILED = 'SUPPORT_TRANSACTION_FAILED';
// Claims
export const FETCH_FEATURED_CONTENT_STARTED = 'FETCH_FEATURED_CONTENT_STARTED';
export const FETCH_FEATURED_CONTENT_COMPLETED = 'FETCH_FEATURED_CONTENT_COMPLETED';
export const FETCH_BLACK_LISTED_CONTENT_STARTED = 'FETCH_BLACK_LISTED_CONTENT_STARTED';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting to remind myself: these need to be added to lbry-redux

@@ -90,7 +120,7 @@ reducers[ACTIONS.AUTO_UPDATE_DOWNLOADED] = state =>
});

reducers[ACTIONS.AUTO_UPDATE_DECLINED] = state => {
return Object.assign({}, state, {
Object.assign({}, state, {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to return these since there is an opening {

CHECK_BLACK_LISTED_CONTENT_INTERVAL
);
dispatch({
type: ACTIONS.CHECK_UPGRADE_SUBSCRIBE,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't used anywhere

@neb-b neb-b merged commit 7f6eea0 into release-0-22-0 Apr 20, 2018
@neb-b neb-b deleted the issue/565 branch April 20, 2018 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants