mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 18:53:40 +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
|
@Override
|
||||||
public void onRun() throws IOException, UntrustedIdentityException {
|
public void onRun() throws IOException, UntrustedIdentityException {
|
||||||
try {
|
// try {
|
||||||
if (!TextSecurePreferences.isMultiDevice(context)) {
|
// if (!TextSecurePreferences.isMultiDevice(context)) {
|
||||||
Log.w(TAG, "Not multi device...");
|
// Log.w(TAG, "Not multi device...");
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
if (destination != null) sendSpecificUpdate(destination, identityKey, verifiedStatus);
|
// if (destination != null) sendSpecificUpdate(destination, identityKey, verifiedStatus);
|
||||||
else sendFullUpdate();
|
// else sendFullUpdate();
|
||||||
|
//
|
||||||
} catch (InvalidNumberException | InvalidKeyException e) {
|
// } catch (InvalidNumberException | InvalidKeyException e) {
|
||||||
throw new IOException(e);
|
// throw new IOException(e);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
private void sendSpecificUpdate(String destination, byte[] identityKey, VerifiedStatus verifiedStatus)
|
private void sendSpecificUpdate(String destination, byte[] identityKey, VerifiedStatus verifiedStatus)
|
||||||
|
@ -394,9 +394,9 @@ public class PushDecryptJob extends ContextJob {
|
|||||||
private void handleSynchronizeVerifiedMessage(@NonNull MasterSecretUnion masterSecret,
|
private void handleSynchronizeVerifiedMessage(@NonNull MasterSecretUnion masterSecret,
|
||||||
@NonNull List<VerifiedMessage> verifiedMessages)
|
@NonNull List<VerifiedMessage> verifiedMessages)
|
||||||
{
|
{
|
||||||
for (VerifiedMessage verifiedMessage : verifiedMessages) {
|
// for (VerifiedMessage verifiedMessage : verifiedMessages) {
|
||||||
IdentityUtil.processVerifiedMessage(context, masterSecret, verifiedMessage);
|
// IdentityUtil.processVerifiedMessage(context, masterSecret, verifiedMessage);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
private void handleSynchronizeSentMessage(@NonNull MasterSecretUnion masterSecret,
|
private void handleSynchronizeSentMessage(@NonNull MasterSecretUnion masterSecret,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user