mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-23 19:49:30 +00:00
Temporary revert (again) to fix an avatar retrieval issue.
This reverts commit 77524ae1f2
.
This commit is contained in:
@@ -26,7 +26,6 @@ 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;
|
||||
@@ -211,7 +210,7 @@ public class RetrieveProfileJob extends BaseJob implements InjectableType {
|
||||
if (!Util.equals(plaintextProfileName, recipient.getProfileName())) {
|
||||
DatabaseFactory.getRecipientDatabase(context).setProfileName(recipient, plaintextProfileName);
|
||||
}
|
||||
} catch (InvalidCiphertextException | IOException e) {
|
||||
} catch (ProfileCipher.InvalidCiphertextException | IOException e) {
|
||||
Log.w(TAG, e);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user