core: fix opening new contact request on remote desktop (#6514)

This commit is contained in:
spaced4ndy authored and GitHub committed 2025-12-18 14:07:13 +00:00
1 parent 6c750eb5df
commit dc3fc21be4
1 file changed
+1 -1
@@ -2616,7 +2616,7 @@ object ChatController {
if (chatModel.chatsContext.hasChat(rhId, r.chat_.id)) {
chatModel.chatsContext.updateChatInfo(rhId, r.chat_.chatInfo)
} else {
chatModel.chatsContext.addChat(r.chat_)
chatModel.chatsContext.addChat(r.chat_.copy(remoteHostId = rhId))
}
} else {
val cInfo = ChatInfo.ContactRequest(contactRequest)