mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-24 06:09:16 +00:00
Use libtextsecure 1.2.2
// FREEBIE
This commit is contained in:
@@ -99,9 +99,8 @@ public class PushDecryptJob extends MasterSecretJob {
|
||||
|
||||
private void handleMessage(MasterSecret masterSecret, TextSecureEnvelope envelope, long smsMessageId) {
|
||||
try {
|
||||
int deviceId = envelope.getSourceDevice();
|
||||
AxolotlStore axolotlStore = new TextSecureAxolotlStore(context, masterSecret);
|
||||
TextSecureCipher cipher = new TextSecureCipher(axolotlStore, new AxolotlAddress(envelope.getSource(), deviceId));
|
||||
TextSecureCipher cipher = new TextSecureCipher(axolotlStore);
|
||||
|
||||
TextSecureMessage message = cipher.decrypt(envelope);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user