aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatPage.qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-07-26 00:07:25 +0300
committerlink2xt <link2xt@testrun.org>2021-07-26 00:08:11 +0300
commitcbedf31adbbde68e72f3e2544d28c1048ecb3305 (patch)
tree0031c60a4fa2e2f4dc9f285a7bfa080028ef8ee2 /qml/ChatPage.qml
parentcd6fe80f84c1f1e44b4ee306ac2672a7287778c1 (diff)
downloadkdeltachat-cbedf31adbbde68e72f3e2544d28c1048ecb3305.tar.gz
kdeltachat-cbedf31adbbde68e72f3e2544d28c1048ecb3305.zip
dc_unblock_chat() is replaced with dc_accept_chat()
Diffstat (limited to 'qml/ChatPage.qml')
-rw-r--r--qml/ChatPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml
index 9b2e7c6..944231d 100644
--- a/qml/ChatPage.qml
+++ b/qml/ChatPage.qml
@@ -20,7 +20,7 @@ Kirigami.ScrollablePage {
contextualActions: [
Kirigami.Action {
text: "Accept contact request"
- onTriggered: chatPage.context.unblockChat(chatPage.chatId)
+ onTriggered: chatPage.context.acceptChat(chatPage.chatId)
visible: chatPage.chat && chatPage.chat.isContactRequest
},
Kirigami.Action {