Fixed a bug where the user profile picture wasn't downloading correctly

This commit is contained in:
Morgan Pretty 2023-06-13 09:55:27 +10:00
parent 5ca7f76275
commit db277e1d30
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ open class Storage(context: Context, helper: SQLCipherOpenHelper, private val co
TextSecurePreferences.setProfilePictureURL(context, newProfilePicture)
if (newProfileKey != null) {
JobQueue.shared.add(RetrieveProfileAvatarJob(Base64.encodeBytes(newProfileKey), ourRecipient.address))
JobQueue.shared.add(RetrieveProfileAvatarJob(newProfilePicture, ourRecipient.address))
}
}