Skip to content

Commit

Permalink
FXVPN-304: Fix erroneous extension activations
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyjanenorton committed Dec 17, 2024
1 parent 79cb8f7 commit 8be86be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/extensionController/extensionController.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export class ExtensionController extends Component {

switch (newClientState.state) {
case "Enabled":
this.mKeepAliveConnection = true;
maybeSet(new StateFirefoxVPNEnabled(false, getTime()));
return;
case "Disabled":
Expand All @@ -148,6 +147,7 @@ export class ExtensionController extends Component {
this.#mState.set(new StateFirefoxVPNDisabled(false));
return;
case "OnPartial":
this.mKeepAliveConnection = true;
maybeSet(new StateFirefoxVPNEnabled(true, getTime()));
return;
default:
Expand Down

0 comments on commit 8be86be

Please sign in to comment.