fix: remove controlling, check valid

Controlling means claims, not channels. We do want to make sure they are valid though.
This commit is contained in:
Thomas Zarebczan 2019-06-11 11:38:18 -04:00
parent a85b77b4bc
commit eecbbfb121
3 changed files with 3 additions and 3 deletions

2
dist/bundle.es.js vendored
View file

@ -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 {

2
dist/bundle.js vendored
View file

@ -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

View file

@ -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;