Fix username getting prematurely removed from recipient.

This commit is contained in:
Greyson Parrelli
2024-05-23 16:50:51 -04:00
committed by Cody Henthorne
parent 19caef057e
commit 96165ad5a8

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. */