From cfa13867e56299bf0caf9fd30e48f83b94c6f9df Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Tue, 2 Oct 2018 08:43:18 -0700 Subject: [PATCH] Allow null for profileAvatar in RetrieveProfileAvatarJob. --- .../thoughtcrime/securesms/jobs/RetrieveProfileAvatarJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/jobs/RetrieveProfileAvatarJob.java b/src/org/thoughtcrime/securesms/jobs/RetrieveProfileAvatarJob.java index 7d8ee23711..d98e0af1c3 100644 --- a/src/org/thoughtcrime/securesms/jobs/RetrieveProfileAvatarJob.java +++ b/src/org/thoughtcrime/securesms/jobs/RetrieveProfileAvatarJob.java @@ -59,7 +59,7 @@ public class RetrieveProfileAvatarJob extends ContextJob implements InjectableTy @Override 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); }