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 225340 aacb6173aedb15ae413c8154b1b7a16cabf2bd5c
parent 225339 2d8503a6be1f12f7014d0512715e2ffb92e806d0
child 225341 8d53b9d6fc24043372253a86f9e9777720b68d61
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1035348
milestone34.0a2
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 {