mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 18:43:49 +00:00
Temporarily disable synchronization messages
Until desktop catches up // FREEBIE
This commit is contained in:
parent
59d3e666fe
commit
1eccc07673
@ -71,18 +71,18 @@ public class MultiDeviceVerifiedUpdateJob extends ContextJob implements Injectab
|
||||
|
||||
@Override
|
||||
public void onRun() throws IOException, UntrustedIdentityException {
|
||||
try {
|
||||
if (!TextSecurePreferences.isMultiDevice(context)) {
|
||||
Log.w(TAG, "Not multi device...");
|
||||
return;
|
||||
}
|
||||
|
||||
if (destination != null) sendSpecificUpdate(destination, identityKey, verifiedStatus);
|
||||
else sendFullUpdate();
|
||||
|
||||
} catch (InvalidNumberException | InvalidKeyException e) {
|
||||
throw new IOException(e);
|
||||
}
|
||||
// try {
|
||||
// if (!TextSecurePreferences.isMultiDevice(context)) {
|
||||
// Log.w(TAG, "Not multi device...");
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// if (destination != null) sendSpecificUpdate(destination, identityKey, verifiedStatus);
|
||||
// else sendFullUpdate();
|
||||
//
|
||||
// } catch (InvalidNumberException | InvalidKeyException e) {
|
||||
// throw new IOException(e);
|
||||
// }
|
||||
}
|
||||
|
||||
private void sendSpecificUpdate(String destination, byte[] identityKey, VerifiedStatus verifiedStatus)
|
||||
|
@ -394,9 +394,9 @@ public class PushDecryptJob extends ContextJob {
|
||||
private void handleSynchronizeVerifiedMessage(@NonNull MasterSecretUnion masterSecret,
|
||||
@NonNull List<VerifiedMessage> verifiedMessages)
|
||||
{
|
||||
for (VerifiedMessage verifiedMessage : verifiedMessages) {
|
||||
IdentityUtil.processVerifiedMessage(context, masterSecret, verifiedMessage);
|
||||
}
|
||||
// for (VerifiedMessage verifiedMessage : verifiedMessages) {
|
||||
// IdentityUtil.processVerifiedMessage(context, masterSecret, verifiedMessage);
|
||||
// }
|
||||
}
|
||||
|
||||
private void handleSynchronizeSentMessage(@NonNull MasterSecretUnion masterSecret,
|
||||
|
Loading…
x
Reference in New Issue
Block a user