Room: remove bestName and use displayName instead of name where it makes sense
This commit is contained in:
parent
d59f59e9f6
commit
2dcd94076f
9 changed files with 26 additions and 36 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue