From 50ddf9b2ed3f4c560f1e79dd72e9ec454d48a418 Mon Sep 17 00:00:00 2001 From: erqan Date: Tue, 10 Apr 2018 17:51:39 +0300 Subject: [PATCH] using peekpost.. --- js/twister_actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/twister_actions.js b/js/twister_actions.js index 28faa1a..ca5f335 100644 --- a/js/twister_actions.js +++ b/js/twister_actions.js @@ -85,10 +85,10 @@ function getTopPostOfConversation(postLi, post, postboard) { } if( reply_n != undefined && reply_k != undefined ) { - dhtget( reply_n, "post" + reply_k, "s", + twisterRpc("peekpost", [reply_n, parseInt(reply_k)], function(postLi, postFromJson) { getTopPostOfConversation(null, postFromJson, postboard); - }, postLi); + }, postLi, function(arg,ret) {console.log(ret)}); } else { var newStreamPost; if (post)