mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-02-05 06:46:27 -06:00
fix: start session
This commit is contained in:
@@ -1601,7 +1601,7 @@ export class WAStartupService {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.localTypebot.enabled) {
|
if (this.localTypebot.enabled || this.localTypebot.sessions?.length > 0) {
|
||||||
if (!(this.localTypebot.listening_from_me === false && messageRaw.key.fromMe === true)) {
|
if (!(this.localTypebot.listening_from_me === false && messageRaw.key.fromMe === true)) {
|
||||||
await this.typebotService.sendTypebot(
|
await this.typebotService.sendTypebot(
|
||||||
{ instanceName: this.instance.name },
|
{ instanceName: this.instance.name },
|
||||||
|
|||||||
Reference in New Issue
Block a user