Browse Source

fixes

dependabot/npm_and_yarn/ini-1.3.7
Evan Feenstra 4 years ago
parent
commit
0b05d98ac5
  1. 3
      dist/src/controllers/messages.js
  2. 2
      dist/src/controllers/messages.js.map
  3. 1
      dist/src/network/receive.js
  4. 2
      dist/src/network/receive.js.map
  5. 3
      src/controllers/messages.ts
  6. 1
      src/network/receive.ts

3
dist/src/controllers/messages.js

@ -192,7 +192,8 @@ exports.sendMessage = (req, res) => __awaiter(void 0, void 0, void 0, function*
uuid: reply_uuid,
} });
if (ogMsg && ogMsg.sender) {
sendMessageParams.realSatsContactId = 123;
console.log('=======> ADMIN BOOSTED A MSG to', ogMsg.sender);
sendMessageParams.realSatsContactId = ogMsg.sender;
}
}
// final send

2
dist/src/controllers/messages.js.map

File diff suppressed because one or more lines are too long

1
dist/src/network/receive.js

@ -145,6 +145,7 @@ function onReceive(payload) {
const amtToForward = payload.message.amount - (chat.pricePerMessage || 0) - (chat.escrowAmount || 0);
if (amtToForward > 0) {
realSatsContactId = ogMsg.sender;
console.log('=======> ADMIN WILL FORWARD BOOST TO', ogMsg.sender);
}
}
}

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

File diff suppressed because one or more lines are too long

3
src/controllers/messages.ts

@ -216,7 +216,8 @@ export const sendMessage = async (req, res) => {
uuid: reply_uuid,
}})
if(ogMsg && ogMsg.sender) {
sendMessageParams.realSatsContactId = 123
console.log('=======> ADMIN BOOSTED A MSG to',ogMsg.sender)
sendMessageParams.realSatsContactId = ogMsg.sender
}
}

1
src/network/receive.ts

@ -131,6 +131,7 @@ async function onReceive(payload){
const amtToForward = payload.message.amount - (chat.pricePerMessage||0) - (chat.escrowAmount||0)
if(amtToForward>0) {
realSatsContactId = ogMsg.sender
console.log('=======> ADMIN WILL FORWARD BOOST TO',ogMsg.sender)
}
}
}

Loading…
Cancel
Save