Attempt to reclaim username in more places during/after registration.

This commit is contained in:
Cody Henthorne
2025-04-03 08:12:36 -04:00
committed by Michelle Tang
parent 9d3f4ffa08
commit 7a5790a6ce
4 changed files with 15 additions and 1 deletions

View File

@@ -871,6 +871,8 @@ class RegistrationViewModel : ViewModel() {
stopwatch.split("storage-sync")
stopwatch.stop(TAG)
} else if (SignalStore.misc.needsUsernameRestore) {
AppDependencies.jobManager.runSynchronously(ReclaimUsernameAndLinkJob(), TimeUnit.SECONDS.toMillis(10))
}
refreshRemoteConfig()