kopia lustrzana https://github.com/ryukoposting/Signal-Android
Allow null for profileAvatar in RetrieveProfileAvatarJob.
rodzic
34770a2333
commit
cfa13867e5
|
@ -59,7 +59,7 @@ public class RetrieveProfileAvatarJob extends ContextJob implements InjectableTy
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void initialize(@NonNull SafeData data) {
|
protected void initialize(@NonNull SafeData data) {
|
||||||
profileAvatar = data.getString(KEY_PROFILE_AVATAR);
|
profileAvatar = data.getNullableString(KEY_PROFILE_AVATAR);
|
||||||
recipient = Recipient.from(context, Address.fromSerialized(data.getString(KEY_ADDRESS)), true);
|
recipient = Recipient.from(context, Address.fromSerialized(data.getString(KEY_ADDRESS)), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue