mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-10 06:14:10 +01:00
use display name of user instead of userId
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
16613f3cd5
commit
a82218055e
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user