mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Room: remove bestName and use displayName instead of name where it makes sense
This commit is contained in:
-5
@@ -130,11 +130,6 @@ class RustMatrixRoom(
|
||||
return roomListItem.name()
|
||||
}
|
||||
|
||||
override val bestName: String
|
||||
get() {
|
||||
return name?.takeIf { it.isNotEmpty() } ?: innerRoom.id()
|
||||
}
|
||||
|
||||
override val displayName: String
|
||||
get() {
|
||||
return innerRoom.displayName()
|
||||
|
||||
Reference in New Issue
Block a user