Telegram fixed

This commit is contained in:
Luis Fernando Molina committed 2020-03-26 15:07:42 +01:00
1 parent 0fcd25e214
commit 74b07e0191
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -512,7 +512,7 @@
for (let i = 0; i < bot.SESSION.socialBots.bots.length; i++) {
let socialBot = bot.SESSION.socialBots.bots[i]
try {
let code = JSON.parse(announcement.code)
let code = announcement.code
if (socialBot.id === announcement.referenceParent.id) {
if (socialBot.type === "Telegram Bot") {
if (announcement.formulaValue !== undefined) {
+3 -1
View File
@@ -2746,7 +2746,9 @@
}
announcement.formulaValue = formulaValue
bot.SESSION.socialBots.announce(announcement)
if (bot.SESSION.socialBots !== undefined) {
bot.SESSION.socialBots.announce(announcement)
}
}
}
}