Browse Source

boost the tribe owner

dependabot/npm_and_yarn/ini-1.3.7
Evan Feenstra 4 years ago
parent
commit
69d7b390ff
  1. 2
      dist/src/network/receive.js
  2. 2
      dist/src/network/receive.js.map
  3. 2
      src/network/receive.ts

2
dist/src/network/receive.js

@ -148,7 +148,7 @@ function onReceive(payload) {
console.log("==< OG MSG FOUND!"); console.log("==< OG MSG FOUND!");
if (ogMsg) if (ogMsg)
console.log("==< amt", payload.message.amount); console.log("==< amt", payload.message.amount);
if (ogMsg && ogMsg.sender && ogMsg.sender !== 1) { if (ogMsg && ogMsg.sender) { // even include "me"
const theAmtToForward = payload.message.amount - (chat.pricePerMessage || 0) - (chat.escrowAmount || 0); const theAmtToForward = payload.message.amount - (chat.pricePerMessage || 0) - (chat.escrowAmount || 0);
console.log('==< theAmtToForward', theAmtToForward); console.log('==< theAmtToForward', theAmtToForward);
if (theAmtToForward > 0) { if (theAmtToForward > 0) {

2
dist/src/network/receive.js.map

File diff suppressed because one or more lines are too long

2
src/network/receive.ts

@ -133,7 +133,7 @@ async function onReceive(payload){
}}) }})
if(ogMsg) console.log("==< OG MSG FOUND!") if(ogMsg) console.log("==< OG MSG FOUND!")
if(ogMsg) console.log("==< amt", payload.message.amount) if(ogMsg) console.log("==< amt", payload.message.amount)
if(ogMsg && ogMsg.sender && ogMsg.sender!==1) { if(ogMsg && ogMsg.sender) { // even include "me"
const theAmtToForward = payload.message.amount - (chat.pricePerMessage||0) - (chat.escrowAmount||0) const theAmtToForward = payload.message.amount - (chat.pricePerMessage||0) - (chat.escrowAmount||0)
console.log('==< theAmtToForward',theAmtToForward) console.log('==< theAmtToForward',theAmtToForward)
if(theAmtToForward>0) { if(theAmtToForward>0) {

Loading…
Cancel
Save