From 57c5e664bbb3a2754ede3321edbd8423707202f5 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 26 Aug 2019 14:07:23 +0200 Subject: [PATCH] don't prompt users to upgrade to premium if subscriptions are disabled --- www/common/toolbar3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index a2547d223..bb325af59 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -894,7 +894,7 @@ MessengerUI, Messages) { if (e) { return void console.error("Unable to get the pinned usage", e); } if (overLimit) { var key = 'pinLimitReachedAlert'; - if (ApiConfig.noSubscriptionButton === true) { + if (!ApiConfig.allowSubscriptions) { key = 'pinLimitReachedAlertNoAccounts'; } $limit.show().click(function () {