Revert "Bump libsignal-client to 0.2.0"

This reverts commit e845fba8b3.
This commit is contained in:
Alan Evans
2021-01-07 15:09:25 -04:00
parent 25af25cd19
commit dda68d6c95
6 changed files with 14 additions and 11 deletions

View File

@@ -60,8 +60,8 @@ public class TextSecureSessionStore implements SessionStore {
SessionRecord sessionRecord = DatabaseFactory.getSessionDatabase(context).load(recipientId, address.getDeviceId());
return sessionRecord != null &&
sessionRecord.hasSenderChain() &&
sessionRecord.getSessionVersion() == CiphertextMessage.CURRENT_VERSION;
sessionRecord.getSessionState().hasSenderChain() &&
sessionRecord.getSessionState().getSessionVersion() == CiphertextMessage.CURRENT_VERSION;
} else {
return false;
}