Skip to content

Commit

Permalink
Update libsignal-protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
liliakai committed Apr 12, 2017
1 parent 5d1e770 commit 26d97e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/libtextsecure.js
Expand Up @@ -36314,7 +36314,7 @@ SessionCipher.prototype = {
var errors = [];
return this.decryptWithSessionList(buffer, record.getSessions(), errors).then(function(result) {
return this.getRecord(address).then(function(record) {
if (result.session !== record.getOpenSession()) {
if (result.session.indexInfo.baseKey !== record.getOpenSession().indexInfo.baseKey) {
record.archiveCurrentState();
record.promoteState(result.session);
}
Expand Down
2 changes: 1 addition & 1 deletion libtextsecure/libsignal-protocol.js
Expand Up @@ -36177,7 +36177,7 @@ SessionCipher.prototype = {
var errors = [];
return this.decryptWithSessionList(buffer, record.getSessions(), errors).then(function(result) {
return this.getRecord(address).then(function(record) {
if (result.session !== record.getOpenSession()) {
if (result.session.indexInfo.baseKey !== record.getOpenSession().indexInfo.baseKey) {
record.archiveCurrentState();
record.promoteState(result.session);
}
Expand Down

1 comment on commit 26d97e6

@WhisperBTC
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! BitHub has sent payment of $60.74USD for this commit.

Please sign in to comment.