Don't store blank usernames.

This commit is contained in:
Greyson Parrelli
2023-08-25 14:34:54 -04:00
parent ae3071d318
commit 57b9571d86
2 changed files with 9 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ internal class CopyUsernameToSignalStoreMigrationJob(
val self = Recipient.self()
if (self.username.isEmpty) {
if (self.username.isEmpty || self.username.get().isBlank()) {
Log.i(TAG, "No username set, skipping.")
return
}