Follow-up to bug 1035348 - fix the conversation window not opening when incoming calls are received. rs=jaws

This commit is contained in:
Mark Banner 2014-09-10 20:10:56 +01:00
parent 8985e6d29b
commit 95ff5c2f53

View File

@ -376,7 +376,8 @@ let MozLoopServiceInternal = {
Services.prefs.setCharPref("loop.seenToS", "seen"); Services.prefs.setCharPref("loop.seenToS", "seen");
/* Request the information on the new call(s) associated with this version. */ /* 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 { try {
let respData = JSON.parse(response.body); let respData = JSON.parse(response.body);
if (respData.calls && respData.calls[0]) { if (respData.calls && respData.calls[0]) {