Skip to content

Commit 71faa69

Browse files
committed
Call setPic instead of setReuploadedPic when re-uploading logic
1 parent 87bf196 commit 71faa69

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/src/main/java/org/thoughtcrime/securesms/attachments/AvatarUploadManager.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,11 @@ class AvatarUploadManager @Inject constructor(
191191
val result = it.userProfile.getPic()
192192
val userPic = remoteFile.toUserPic()
193193
if (isReupload) {
194-
it.userProfile.setReuploadedPic(userPic)
194+
it.userProfile.setPic(userPic)
195+
196+
// TODO: We'll need to call this when the libsession re-enables the re-uploaded
197+
// avatar logic.
198+
// it.userProfile.setReuploadedPic(userPic)
195199
} else {
196200
it.userProfile.setPic(userPic)
197201
}

0 commit comments

Comments
 (0)