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

@@ -105,7 +105,7 @@ private suspend fun MatrixClient.leaveRoom(
room.leave().onSuccess {
roomMembershipObserver.notifyUserLeftRoom(room.roomId)
}.onFailure {
Timber.e(it, "Error while leaving room ${room.name} - ${room.roomId}")
Timber.e(it, "Error while leaving room ${room.displayName} - ${room.roomId}")
error.value = LeaveRoomState.Error.Shown
}
}