Revert "Temporary revert to fix an avatar retrieval issue."

This reverts commit 267bc32e23.
This commit is contained in:
Greyson Parrelli
2019-04-17 15:41:36 -04:00
parent 30ba9d7e27
commit 77524ae1f2
6 changed files with 27 additions and 391 deletions

View File

@@ -26,6 +26,7 @@ import org.whispersystems.libsignal.InvalidKeyException;
import org.whispersystems.libsignal.util.guava.Optional;
import org.whispersystems.signalservice.api.SignalServiceMessagePipe;
import org.whispersystems.signalservice.api.SignalServiceMessageReceiver;
import org.whispersystems.signalservice.api.crypto.InvalidCiphertextException;
import org.whispersystems.signalservice.api.crypto.ProfileCipher;
import org.whispersystems.signalservice.api.crypto.UnidentifiedAccess;
import org.whispersystems.signalservice.api.crypto.UnidentifiedAccessPair;
@@ -210,7 +211,7 @@ public class RetrieveProfileJob extends BaseJob implements InjectableType {
if (!Util.equals(plaintextProfileName, recipient.getProfileName())) {
DatabaseFactory.getRecipientDatabase(context).setProfileName(recipient, plaintextProfileName);
}
} catch (ProfileCipher.InvalidCiphertextException | IOException e) {
} catch (InvalidCiphertextException | IOException e) {
Log.w(TAG, e);
}
}