Room: remove bestName and use displayName instead of name where it makes sense

This commit is contained in:
ganfra
2023-07-05 12:01:51 +02:00
parent 79eef06995
commit 03b2cbb06f
9 changed files with 26 additions and 36 deletions

View File

@@ -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()