From 11fbab0c65a10cbb363c9e0beda194a7679e9054 Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Mon, 10 Jan 2022 10:16:48 +0100 Subject: [PATCH] refactor(@desktop/contacts): accept contact request from the contact requests popup fixed --- ui/app/AppLayouts/Chat/popups/ContactRequestsPopup.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/app/AppLayouts/Chat/popups/ContactRequestsPopup.qml b/ui/app/AppLayouts/Chat/popups/ContactRequestsPopup.qml index bda567f904..727144e5fc 100644 --- a/ui/app/AppLayouts/Chat/popups/ContactRequestsPopup.qml +++ b/ui/app/AppLayouts/Chat/popups/ContactRequestsPopup.qml @@ -16,10 +16,7 @@ ModalPopup { id: popup property var store - // Important: - // We're here in case of ChatSection - // This module is set from `ChatLayout` (each `ChatLayout` has its own chatSectionModule) - property var chatSectionModule + //% "Contact requests" title: qsTrId("contact-requests") @@ -46,7 +43,6 @@ ModalPopup { blockContactConfirmationDialog.open() } onAcceptClicked: { - chatSectionModule.createOneToOneChat(model.pubKey, "") popup.store.acceptContactRequest(model.pubKey) } onDeclineClicked: {