Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. --- FxAccountsWebChannel.jsm
  2. +++ FxAccountsWebChannel.jsm
  3. @@ -545,10 +545,12 @@
  4. * If returning status information is not allowed or no user is signed into
  5. * Sync, `user_data` will be null.
  6. */
  7. - async getFxaStatus(service, sendingContext, isPairing) {
  8. + async getFxaStatus(service, sendingContext, isPairing, context) {
  9. let signedInUser = null;
  10.  
  11. - if (this.shouldAllowFxaStatus(service, sendingContext, isPairing)) {
  12. + if (
  13. + this.shouldAllowFxaStatus(service, sendingContext, isPairing, context)
  14. + ) {
  15. const userData = await this._fxAccounts.getSignedInUser();
  16. if (userData) {
  17. signedInUser = {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement