From 8f776c9340e7bd68e90b5ef66577eb007ef9b736 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 22 Feb 2021 02:05:31 +0300 Subject: Add context menu item to accept contact requests --- qml/Message.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qml/Message.qml b/qml/Message.qml index ae10dcd..a217bc8 100644 --- a/qml/Message.qml +++ b/qml/Message.qml @@ -85,6 +85,10 @@ RowLayout { text: "Info" onTriggered: messageDialog.open() } + Action { + text: "Start chat" + onTriggered: context.decideOnContactRequest(message.id, 0) + } } } -- cgit v1.2.3-70-g09d2