mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1198071 - remove support for session_status server commands. r=rfkelly,zaach
This commit is contained in:
parent
4d5772376d
commit
f2cdca103c
@ -257,22 +257,6 @@ let wrapper = {
|
||||
this.injectData("message", { status: "can_link_account", data: { ok: ok } });
|
||||
},
|
||||
|
||||
/**
|
||||
* onSessionStatus sends the currently signed in user's credentials
|
||||
* to the jelly.
|
||||
*/
|
||||
onSessionStatus: function () {
|
||||
log("Received: 'session_status'.");
|
||||
|
||||
fxAccounts.getSignedInUser().then(
|
||||
(accountData) => {
|
||||
updateDisplayedEmail(accountData);
|
||||
this.injectData("message", { status: "session_status", data: accountData });
|
||||
},
|
||||
(err) => this.injectData("message", { status: "error", error: err })
|
||||
);
|
||||
},
|
||||
|
||||
/**
|
||||
* onSignOut handler erases the current user's session from the fxaccounts service
|
||||
*/
|
||||
@ -296,9 +280,6 @@ let wrapper = {
|
||||
case "can_link_account":
|
||||
this.onCanLinkAccount(data);
|
||||
break;
|
||||
case "session_status":
|
||||
this.onSessionStatus(data);
|
||||
break;
|
||||
case "sign_out":
|
||||
this.onSignOut(data);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user