This commit is contained in:
Benoit Marty 2021-10-04 09:58:14 +02:00
parent 36b7617483
commit 0a6b71d27d
2 changed files with 1 additions and 2 deletions

View File

@ -35,4 +35,3 @@ internal class DisplayNameResolver @Inject constructor(
}
}
}

View File

@ -20,7 +20,7 @@ import org.matrix.android.sdk.api.MatrixItemDisplayNameFallbackProvider
import org.matrix.android.sdk.api.util.MatrixItem
// Used to provide the fallback to the MatrixSDK, in the MatrixConfiguration
object VectorMatrixItemDisplayNameFallbackProvider: MatrixItemDisplayNameFallbackProvider {
object VectorMatrixItemDisplayNameFallbackProvider : MatrixItemDisplayNameFallbackProvider {
override fun getDefaultName(matrixItem: MatrixItem): String {
// Can customize something from the id if necessary here
return matrixItem.id