Remove unused argument

This commit is contained in:
lilia 2017-02-20 18:07:05 -08:00
parent 538c7aecce
commit 17fdde0091
2 changed files with 4 additions and 4 deletions

View File

@ -35872,7 +35872,7 @@ SessionBuilder.prototype = {
}
record.archiveCurrentState();
record.updateSessionState(session, device.registrationId);
record.updateSessionState(session);
return Promise.all([
this.storage.storeSession(address, record.serialize()),
this.storage.saveIdentity(this.remoteAddress.getName(), session.indexInfo.remoteIdentityKey)
@ -35931,7 +35931,7 @@ SessionBuilder.prototype = {
// Note that the session is not actually saved until the very
// end of decryptWhisperMessage ... to ensure that the sender
// actually holds the private keys for all reported pubkeys
record.updateSessionState(new_session, message.registrationId);
record.updateSessionState(new_session);
return this.storage.saveIdentity(this.remoteAddress.getName(), message.identityKey.toArrayBuffer()).then(function() {
return message.preKeyId;
});

View File

@ -48,7 +48,7 @@ SessionBuilder.prototype = {
}
record.archiveCurrentState();
record.updateSessionState(session, device.registrationId);
record.updateSessionState(session);
return Promise.all([
this.storage.storeSession(address, record.serialize()),
this.storage.saveIdentity(this.remoteAddress.getName(), session.indexInfo.remoteIdentityKey)
@ -107,7 +107,7 @@ SessionBuilder.prototype = {
// Note that the session is not actually saved until the very
// end of decryptWhisperMessage ... to ensure that the sender
// actually holds the private keys for all reported pubkeys
record.updateSessionState(new_session, message.registrationId);
record.updateSessionState(new_session);
return this.storage.saveIdentity(this.remoteAddress.getName(), message.identityKey.toArrayBuffer()).then(function() {
return message.preKeyId;
});