Follow-up to bug 1035348 - fix the conversation window not opening when incoming calls are received. rs=jaws
authorMark Banner <standard8@mozilla.com>
Wed, 10 Sep 2014 20:10:56 +0100
changeset 227822 0f8b752951d9b88db833f70e773405edbc5c5dbb
parent 227821 9aa76517b185ec4977c77d421d043abe096c009d
child 227823 bad6a9fc2bf07d1ad360b037233bb6d84a2b3e8e
child 228019 6ba92c715ffe7a8ece8d0550372729d260fbd85a
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1035348
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Follow-up to bug 1035348 - fix the conversation window not opening when incoming calls are received. rs=jaws
browser/components/loop/MozLoopService.jsm
--- a/browser/components/loop/MozLoopService.jsm
+++ b/browser/components/loop/MozLoopService.jsm
@@ -371,17 +371,18 @@ let MozLoopServiceInternal = {
     }
 
     // We set this here as it is assumed that once the user receives an incoming
     // call, they'll have had enough time to see the terms of service. See
     // bug 1046039 for background.
     Services.prefs.setCharPref("loop.seenToS", "seen");
 
     /* Request the information on the new call(s) associated with this version. */
-    this.hawkRequest("/calls?version=" + version, "GET").then(response => {
+    this.hawkRequest(LOOP_SESSION_TYPE.GUEST,
+      "/calls?version=" + version, "GET").then(response => {
       try {
         let respData = JSON.parse(response.body);
         if (respData.calls && respData.calls[0]) {
           this.callsData.data = respData.calls[0];
           this.openChatWindow(null,
             this.localizedStrings["incoming_call_title2"].textContent,
             "about:loopconversation#incoming/" + version);
         } else {