Fixing some of the old display name structure

This commit is contained in:
Vitor Pamplona
2024-03-12 17:51:27 -04:00
parent e094b56b72
commit 0dbd58d8d7
17 changed files with 91 additions and 217 deletions

View File

@@ -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? {