"v" : [
"twister",
"mfreitas",
"manob2",
"erkanyuksel"
]
[
"capo",
"dionyziz",
"erkanyuksel",
"manob2",
"mfreitas",
"mollusk",
"szelok",
"toyg",
"twister"
]
--
You received this message because you are subscribed to the Google Groups "twister-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to twister-user...@googlegroups.com.
To post to this group, send email to twiste...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
follow(username, true, function() {
// delay reload so dhtput may do it's job
window.setTimeout("location.reload();",500);
});
And the old _followingSeqNum is in local storage because the old one get saved before the seq number get incremented (in saveFollowingToDht()).
function saveFollowing(cbFunc, cbArg) {
saveFollowingToStorage();
saveFollowingToDht();
updateFollowing(cbFunc, cbArg);
}
And the old _followingSeqNum is in local storage because the old one get saved before the seq number get incremented (in saveFollowingToDht()).
function saveFollowing(cbFunc, cbArg) {
saveFollowingToStorage();
saveFollowingToDht();
updateFollowing(cbFunc, cbArg);
}
Yes. That should address the issue. I will help check out.A couple of suggestions for future rewrite1. not expose dhtput in json RPC. it does not seem there is a need to do so2. writeable/stateful calls should be made more "atomic" from client app perspective. Eg In this case - "follow" - client apps should make a single rpc call. Then twisterd will both do a dhtput and do a torrent subscription.
3. avoid refresh web page for better users experience.