aboutsummaryrefslogtreecommitdiff
path: root/qml
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-11-11 19:32:35 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-11-11 19:32:35 +0100
commit3a23720bd8390fc96efdccfe65f27389672155c4 (patch)
tree0503f2446e1c273d07ebfe982f6026bf41b01f0e /qml
parentb759e3578047b96968c9b9a817389d374850de59 (diff)
downloadkdeltachat-3a23720bd8390fc96efdccfe65f27389672155c4.tar.gz
kdeltachat-3a23720bd8390fc96efdccfe65f27389672155c4.zip
Block button on contact request works now
- also fix the videochat invitation button appearing on the new contact request screen
Diffstat (limited to 'qml')
-rw-r--r--qml/ComposePane.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/qml/ComposePane.qml b/qml/ComposePane.qml
index 1af4033..06b623d 100644
--- a/qml/ComposePane.qml
+++ b/qml/ComposePane.qml
@@ -102,6 +102,7 @@ Pane {
Button {
id: sendVChatUrl
enabled: vChatUrl.length > 0 ? true : false
+ visible: root.isContactRequest ? false : true
hoverEnabled: true
ToolTip.visible: hovered
ToolTip.text: "Send videochat invitation"
@@ -160,7 +161,7 @@ Pane {
Layout.alignment: Qt.AlignBottom
Layout.fillWidth: true
text: "Block"
- onClicked: root.context.acceptChat(root.chatId)
+ onClicked: root.context.blockChat(root.chatId)
visible: root.isContactRequest
icon.name: "call-stop"
}