Revert "Bump libsignal-client to 0.2.3"

This reverts commit 8b7506ed2d.
This commit is contained in:
Cody Henthorne
2021-02-12 15:03:37 -05:00
parent 37f4557fef
commit 4afb459b30
6 changed files with 14 additions and 11 deletions

View File

@@ -60,8 +60,8 @@ public class TextSecureSessionStore implements SignalServiceSessionStore {
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;
}