Revert "Bump libsignal-client to 0.2.2"

This reverts commit ce156c3450.
This commit is contained in:
Greyson Parrelli
2021-01-24 17:26:40 -05:00
parent 41d227207d
commit afbe27c55f
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;
}