Browse Source

skip self node in the sending peers quantity calculation

twisterarmy
d47081 2 years ago
parent
commit
428086253a
  1. 2
      js/twister_formatpost.js

2
js/twister_formatpost.js

@ -279,7 +279,7 @@ function setPostInfoSent(n, k, item) { @@ -279,7 +279,7 @@ function setPostInfoSent(n, k, item) {
function(args,count) {
if( count >= 2 ) { // assume 2 peers (me + 1) is enough for "sent"
args.item.text("\u2713"); // check mark
args.item.attr("title", "\u2713 " + count); // display recipients quantity on sent icon title
args.item.attr("title", "\u2713 " + (count - 1)); // display recipients quantity on sent icon title
} else {
args.item.text("\u231B"); // hour glass
setTimeout(setPostInfoSent,30000,n,k,item);

Loading…
Cancel
Save