From 428086253a9c822bbd79852375f2973cdb566a7a Mon Sep 17 00:00:00 2001 From: d47081 Date: Sun, 10 Jul 2022 16:57:41 +0300 Subject: [PATCH] skip self node in the sending peers quantity calculation --- js/twister_formatpost.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/twister_formatpost.js b/js/twister_formatpost.js index 8ab6832..74c05bc 100644 --- a/js/twister_formatpost.js +++ b/js/twister_formatpost.js @@ -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);