From eecbbfb121e2c3d21bd1b8559431b782bed8541f Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Tue, 11 Jun 2019 11:38:18 -0400 Subject: [PATCH] fix: remove controlling, check valid Controlling means claims, not channels. We do want to make sure they are valid though. --- dist/bundle.es.js | 2 +- dist/bundle.js | 2 +- src/redux/actions/subscriptions.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index c28750d..e3be95c 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -1559,7 +1559,7 @@ const doCheckSubscription = (subscriptionUri, shouldNotify) => (dispatch, getSta channel_name: subscriptionUri, page: 1, page_size: PAGE_SIZE, - is_controlling: true, + valid_channel_signatures: true, order_by: ['release_time'] }).then(result => { const { diff --git a/dist/bundle.js b/dist/bundle.js index c04ec8a..e1e54c0 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -2554,7 +2554,7 @@ var doCheckSubscription = function doCheckSubscription(subscriptionUri, shouldNo channel_name: subscriptionUri, page: 1, page_size: constants_claim__WEBPACK_IMPORTED_MODULE_0__["PAGE_SIZE"], - is_controlling: true, + valid_channel_signatures: true, order_by: ['release_time'] }).then(function (result) { var claimsInChannel = result.items; // may happen if subscribed to an abandoned channel or an empty channel diff --git a/src/redux/actions/subscriptions.js b/src/redux/actions/subscriptions.js index 114927d..e2935ef 100644 --- a/src/redux/actions/subscriptions.js +++ b/src/redux/actions/subscriptions.js @@ -161,7 +161,7 @@ export const doCheckSubscription = (subscriptionUri: string, shouldNotify?: bool channel_name: subscriptionUri, page: 1, page_size: PAGE_SIZE, - is_controlling: true, + valid_channel_signatures: true, order_by: ['release_time'], }).then(result => { const { items: claimsInChannel } = result;