mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 04:21:44 +00:00
refactor(@desktop/contacts): accept contact request from the contact requests popup fixed
This commit is contained in:
parent
0e5fbfb567
commit
11fbab0c65
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user