Open sessions must have registrationIds

This commit is contained in:
lilia 2016-10-05 21:57:01 +09:00
parent 8df967ab64
commit 861fc80580
2 changed files with 4 additions and 2 deletions

View File

@ -35624,7 +35624,8 @@ Internal.SessionRecord = function() {
});
},
haveOpenSession: function() {
return this.getOpenSession() !== undefined;
var openSession = this.getOpenSession();
return (!!openSession && !!openSession.registrationId);
},
getSessionByBaseKey: function(baseKey) {

View File

@ -125,7 +125,8 @@ Internal.SessionRecord = function() {
});
},
haveOpenSession: function() {
return this.getOpenSession() !== undefined;
var openSession = this.getOpenSession();
return (!!openSession && !!openSession.registrationId);
},
getSessionByBaseKey: function(baseKey) {