Browse Source

reduce recipient peer quantity to 1 to mark messages as sent

twisterarmy
d47081 3 years ago
parent
commit
8d1c23d65e
  1. 2
      js/twister_formatpost.js

2
js/twister_formatpost.js

@ -277,7 +277,7 @@ function setPostInfoSent(n, k, item) { @@ -277,7 +277,7 @@ function setPostInfoSent(n, k, item) {
if( n === defaultScreenName && k >= 0 ) {
getPostMaxAvailability(n,k,
function(args,count) {
if( count >= 3 ) { // assume 3 peers (me + 2) is enough for "sent"
if( count >= 2 ) { // assume 2 peers (me + 1) is enough for "sent"
args.item.text("\u2713"); // check mark
} else {
args.item.text("\u231B"); // hour glass

Loading…
Cancel
Save