From db277e1d305e45987b3bd1ca3457fe81c731d98d Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Tue, 13 Jun 2023 09:55:27 +1000 Subject: [PATCH] Fixed a bug where the user profile picture wasn't downloading correctly --- .../main/java/org/thoughtcrime/securesms/database/Storage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt b/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt index e792a19df6..91ecf6737f 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt @@ -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)) } }