Browse Source

cleanup

dependabot/npm_and_yarn/ini-1.3.7
Evan Feenstra 4 years ago
parent
commit
404d74e734
  1. 2
      dist/src/controllers/messages.js
  2. 2
      dist/src/controllers/messages.js.map
  3. 2
      src/controllers/messages.ts

2
dist/src/controllers/messages.js

@ -301,9 +301,7 @@ exports.receiveBoost = (payload) => __awaiter(void 0, void 0, void 0, function*
const ogMsg = yield models_1.models.Message.findOne({
where: { uuid: msg.replyUuid }
});
console.log("FOUND OG MSG");
if (ogMsg && ogMsg.sender === 1) {
console.log("OG MSG WAS ME! SEND NOTIFY");
hub_1.sendNotification(chat, msg.senderAlias || sender.alias, 'boost');
}
}

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

File diff suppressed because one or more lines are too long

2
src/controllers/messages.ts

@ -333,9 +333,7 @@ export const receiveBoost = async (payload) => {
const ogMsg = await models.Message.findOne({
where: {uuid: msg.replyUuid}
})
console.log("FOUND OG MSG")
if(ogMsg && ogMsg.sender===1) {
console.log("OG MSG WAS ME! SEND NOTIFY")
sendNotification(chat, msg.senderAlias||sender.alias, 'boost')
}
}

Loading…
Cancel
Save