Use conversation name as userId in API call

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2024-12-04 17:15:52 +01:00
parent e6e294096b
commit 07accbb2b9
No known key found for this signature in database
GPG Key ID: F7AA2A8B65B50220

View File

@ -619,7 +619,7 @@ class ChatActivity :
if(currentConversation?.type == ConversationEnums.ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL &&
currentConversation?.status == "dnd"){
conversationUser?.let{ user ->
chatViewModel.outOfOfficeStatusOfUser(credentials, user.baseUrl!!, currentConversation!!.displayName)
chatViewModel.outOfOfficeStatusOfUser(credentials, user.baseUrl!!, currentConversation!!.name)
}
}