mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Don't store blank usernames.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user