Browse Source

using peekpost..

readme-update
erqan 7 years ago committed by GitHub
parent
commit
50ddf9b2ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      js/twister_actions.js

4
js/twister_actions.js

@ -85,10 +85,10 @@ function getTopPostOfConversation(postLi, post, postboard) {
} }
if( reply_n != undefined && reply_k != undefined ) { if( reply_n != undefined && reply_k != undefined ) {
dhtget( reply_n, "post" + reply_k, "s", twisterRpc("peekpost", [reply_n, parseInt(reply_k)],
function(postLi, postFromJson) { function(postLi, postFromJson) {
getTopPostOfConversation(null, postFromJson, postboard); getTopPostOfConversation(null, postFromJson, postboard);
}, postLi); }, postLi, function(arg,ret) {console.log(ret)});
} else { } else {
var newStreamPost; var newStreamPost;
if (post) if (post)

Loading…
Cancel
Save