mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
Allow null for profileAvatar in RetrieveProfileAvatarJob.
This commit is contained in:
parent
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user