mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Trigger /peer/attempt_conection
This commit is contained in:
parent
12b642cc84
commit
f57e3327f0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user