Fixing some of the old display name structure
This commit is contained in:
@@ -431,12 +431,8 @@ class UserMetadata {
|
||||
return lud16 ?: lud06
|
||||
}
|
||||
|
||||
fun bestUsername(): String? {
|
||||
return name ?: username
|
||||
}
|
||||
|
||||
fun bestDisplayName(): String? {
|
||||
return displayName
|
||||
fun bestName(): String? {
|
||||
return displayName ?: name ?: username
|
||||
}
|
||||
|
||||
fun nip05(): String? {
|
||||
|
||||
Reference in New Issue
Block a user