From 93c2dc6a5505f85a402fe80309d9210ea33de16d Mon Sep 17 00:00:00 2001 From: vantezzen Date: Sun, 10 Nov 2019 15:51:36 +0100 Subject: Remove unused premium user check --- src/features/serviceProxy/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/features/serviceProxy') diff --git a/src/features/serviceProxy/index.js b/src/features/serviceProxy/index.js index e9a01b156..e78607667 100644 --- a/src/features/serviceProxy/index.js +++ b/src/features/serviceProxy/index.js @@ -22,7 +22,6 @@ export default function init(stores) { config.isIncludedInCurrentPlan = true; const services = stores.services.enabled; - const isPremiumUser = stores.user.data.isPremium; const proxySettings = stores.settings.proxy; debug('Service Proxy autorun'); @@ -30,7 +29,7 @@ export default function init(stores) { services.forEach((service) => { const s = session.fromPartition(`persist:service-${service.id}`); - if (config.isEnabled && (isPremiumUser || !config.isIncludedInCurrentPlan)) { + if (config.isEnabled) { const serviceProxyConfig = proxySettings[service.id]; if (serviceProxyConfig && serviceProxyConfig.isEnabled && serviceProxyConfig.host) { -- cgit v1.2.3-54-g00ecf