Open sessions must have registrationIds
This commit is contained in:
parent
8df967ab64
commit
861fc80580
3
dist/libsignal-protocol.js
vendored
3
dist/libsignal-protocol.js
vendored
@ -35624,7 +35624,8 @@ Internal.SessionRecord = function() {
|
||||
});
|
||||
},
|
||||
haveOpenSession: function() {
|
||||
return this.getOpenSession() !== undefined;
|
||||
var openSession = this.getOpenSession();
|
||||
return (!!openSession && !!openSession.registrationId);
|
||||
},
|
||||
|
||||
getSessionByBaseKey: function(baseKey) {
|
||||
|
||||
@ -125,7 +125,8 @@ Internal.SessionRecord = function() {
|
||||
});
|
||||
},
|
||||
haveOpenSession: function() {
|
||||
return this.getOpenSession() !== undefined;
|
||||
var openSession = this.getOpenSession();
|
||||
return (!!openSession && !!openSession.registrationId);
|
||||
},
|
||||
|
||||
getSessionByBaseKey: function(baseKey) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user