Fix username getting prematurely removed from recipient.

This commit is contained in:
Greyson Parrelli 2024-05-23 16:50:51 -04:00 committed by Oscar Mira
parent 614ecfaad5
commit 97653c04b0
No known key found for this signature in database
GPG key ID: B371B98C5DC32237

View file

@ -519,7 +519,7 @@ class Recipient(
}
fun hasNonUsernameDisplayName(context: Context): Boolean {
return getNameFromLocalData(context) != null
return getNameFromLocalData(context).isNotNullOrBlank()
}
/** A full-length display name for this user, ignoring the username. */