Add a fallback for user displayName when this one is null or empty #3732
Labels
T-Enhancement
New features, changes in functionality, performance boosts, user-facing improvements
Milestone
Actually if user displayName is null or empty the function
getBestName()
return the matrixId.It should be better to have a fallback as for the room name :
RoomDisplayNameFallbackProvider
For example we have this fallback on Tchap : https://github.com/tchapgouv/tchap-android-v2/blob/27fd9730546e7f51734868e61433cb5a4bf4cafd/vector/src/main/java/fr/gouv/tchap/core/utils/TchapUtils.kt#L89
The text was updated successfully, but these errors were encountered: