mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-31 21:04:20 +01:00
Ignore error if downloading profile avatar fails
This commit is contained in:
@@ -461,8 +461,8 @@ public class Manager implements Closeable {
|
||||
File avatarFile = null;
|
||||
try {
|
||||
avatarFile = encryptedProfile.getAvatar() == null ? null : retrieveProfileAvatar(address, encryptedProfile.getAvatar(), profileKey);
|
||||
} catch (AssertionError e) {
|
||||
System.err.println("Failed to retrieve profile avatar: " + e.getMessage());
|
||||
} catch (Throwable e) {
|
||||
System.err.println("Failed to retrieve profile avatar, ignoring: " + e.getMessage());
|
||||
}
|
||||
|
||||
ProfileCipher profileCipher = new ProfileCipher(profileKey);
|
||||
|
||||
Reference in New Issue
Block a user