Allow null for profileAvatar in RetrieveProfileAvatarJob.

This commit is contained in:
Greyson Parrelli 2018-10-02 08:43:18 -07:00
parent 34770a2333
commit cfa13867e5

View File

@ -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);
} }