mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Clean up
This commit is contained in:
@@ -65,6 +65,11 @@ class MatrixRoom(
|
||||
return slidingSyncRoom.name()
|
||||
}
|
||||
|
||||
val bestName: String
|
||||
get() {
|
||||
return name?.takeIf { it.isNotEmpty() } ?: room.id()
|
||||
}
|
||||
|
||||
val displayName: String
|
||||
get() {
|
||||
return room.displayName()
|
||||
|
||||
Reference in New Issue
Block a user