mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Fix username getting prematurely removed from recipient.
This commit is contained in:
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. */
|
||||
|
||||
Reference in New Issue
Block a user