From 327e192258049de2516c2e8fbd438e51a50d27fe Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 18 Sep 2017 21:07:56 -0400 Subject: [PATCH] push controller is only when *not* self hosted --- src/Api/Controllers/PushController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/Controllers/PushController.cs b/src/Api/Controllers/PushController.cs index 5143d3f4a..5edd4e1c0 100644 --- a/src/Api/Controllers/PushController.cs +++ b/src/Api/Controllers/PushController.cs @@ -111,7 +111,7 @@ namespace Bit.Api.Controllers return true; } - return _currentContext.InstallationId.HasValue && _globalSettings.SelfHosted; + return _currentContext.InstallationId.HasValue && !_globalSettings.SelfHosted; } } }