Fix username getting prematurely removed from recipient.

This commit is contained in:
Greyson Parrelli
2024-06-05 15:46:00 -04:00
committed by Cody Henthorne
parent 19caef057e
commit 96165ad5a8
@@ -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. */