mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 12:07:11 +01:00
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