use display name of user instead of userId

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2025-04-16 13:49:49 +02:00
parent 16613f3cd5
commit a82218055e
No known key found for this signature in database
GPG Key ID: F7AA2A8B65B50220

View File

@ -1016,7 +1016,7 @@ class ChatActivity :
binding.outOfOfficeContainer.findViewById<TextView>(R.id.userAbsenceShortMessage).text =
String.format(
context.resources.getString(R.string.user_absence_for_one_day),
uiState.userAbsence.userId
currentConversation?.displayName
)
binding.outOfOfficeContainer.findViewById<TextView>(R.id.userAbsencePeriod).visibility =
View.GONE
@ -1027,7 +1027,7 @@ class ChatActivity :
binding.outOfOfficeContainer.findViewById<TextView>(R.id.userAbsenceShortMessage).text =
String.format(
context.resources.getString(R.string.user_absence),
uiState.userAbsence.userId
currentConversation?.displayName
)
binding.outOfOfficeContainer.findViewById<TextView>(R.id.userAbsencePeriod).text =