From f57e3327f014bcdd38231956c75a0fa6426e9286 Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Mon, 24 Jul 2017 17:38:30 +0200 Subject: [PATCH] Trigger /peer/attempt_conection --- retroshare-qml-app/src/TrustedNodeDetails.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/retroshare-qml-app/src/TrustedNodeDetails.qml b/retroshare-qml-app/src/TrustedNodeDetails.qml index fb29c396b..145dab0b4 100644 --- a/retroshare-qml-app/src/TrustedNodeDetails.qml +++ b/retroshare-qml-app/src/TrustedNodeDetails.qml @@ -32,6 +32,11 @@ Item property var locations + function attemptConnectionCB (par) + { + console.log("attemptConnectionCB()", par.response) + } + Image { @@ -119,6 +124,9 @@ Item onClicked: { console.log("triggerLocationConnectionAttempt()") + rsApi.request("/peers/attempt_connection/", + JSON.stringify({peer_id: model.peer_id}) , attemptConnectionCB) + } Column