Fix test for presence of registrationId

This commit is contained in:
lilia 2017-02-20 18:07:23 -08:00
parent 17fdde0091
commit 963a424451
2 changed files with 2 additions and 2 deletions

View File

@ -35626,7 +35626,7 @@ Internal.SessionRecord = function() {
},
haveOpenSession: function() {
var openSession = this.getOpenSession();
return (!!openSession && !!openSession.registrationId);
return (!!openSession && typeof openSession.registrationId === 'number');
},
getSessionByBaseKey: function(baseKey) {

View File

@ -127,7 +127,7 @@ Internal.SessionRecord = function() {
},
haveOpenSession: function() {
var openSession = this.getOpenSession();
return (!!openSession && !!openSession.registrationId);
return (!!openSession && typeof openSession.registrationId === 'number');
},
getSessionByBaseKey: function(baseKey) {