Telegram fixed
This commit is contained in:
1 parent
0fcd25e214
commit
74b07e0191
2 files changed
+4
-2
No files matched your search
+1
-1
@@ -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) {
|
||||
|
||||
@@ -2746,7 +2746,9 @@
|
||||
}
|
||||
announcement.formulaValue = formulaValue
|
||||
|
||||
bot.SESSION.socialBots.announce(announcement)
|
||||
if (bot.SESSION.socialBots !== undefined) {
|
||||
bot.SESSION.socialBots.announce(announcement)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user