Fix incorrect profile upload flag for existing users.

This commit is contained in:
Cody Henthorne
2021-11-10 14:03:04 -05:00
committed by Alex Hart
parent 1e6a17adc3
commit ff41816fef
3 changed files with 3 additions and 3 deletions

View File

@@ -292,7 +292,7 @@ public final class ProfileUtil {
Optional.fromNullable(paymentsAddress),
avatar,
badgeIds).orNull();
SignalStore.registrationValues().markHasUploadedProfile();
DatabaseFactory.getRecipientDatabase(context).setProfileAvatar(Recipient.self().getId(), avatarPath);
}