skip self node in the sending peers quantity calculation

This commit is contained in:
d47081 2022-07-10 16:57:41 +03:00
parent 780365561a
commit 428086253a

View File

@ -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);