fix(all): Templates OK.
This commit is contained in:
parent
d62c227431
commit
c76c46ede7
1 changed files with 7 additions and 6 deletions
|
@ -1097,12 +1097,10 @@ export class GBMinService {
|
||||||
}
|
}
|
||||||
|
|
||||||
let pid = WhatsappDirectLine.pidByNumber[member.id];
|
let pid = WhatsappDirectLine.pidByNumber[member.id];
|
||||||
let recipient = context.activity?.recipient?.id;
|
GBLogEx.info(min, `Receiver: ${member.id} - pid: ${pid}.`);
|
||||||
|
if (!pid) {
|
||||||
if (!pid && recipient !== min.botId) {
|
|
||||||
pid = GBVMService.createProcessInfo(user, min, step.context.activity.channelId, null, step);
|
pid = GBVMService.createProcessInfo(user, min, step.context.activity.channelId, null, step);
|
||||||
}
|
}
|
||||||
step.context.activity['pid'] = pid;
|
|
||||||
|
|
||||||
// Required for MSTEAMS handling of persisted conversations.
|
// Required for MSTEAMS handling of persisted conversations.
|
||||||
|
|
||||||
|
@ -1145,11 +1143,14 @@ export class GBMinService {
|
||||||
min,
|
min,
|
||||||
`Auto start (teams) dialog is now being called: ${startDialog} for ${min.instance.botId}...`
|
`Auto start (teams) dialog is now being called: ${startDialog} for ${min.instance.botId}...`
|
||||||
);
|
);
|
||||||
|
|
||||||
await GBVMService.callVM(startDialog.toLowerCase(), min, step, pid);
|
await GBVMService.callVM(startDialog.toLowerCase(), min, step, pid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
step.context.activity['pid'] = pid;
|
||||||
|
|
||||||
// Required for F0 handling of persisted conversations.
|
// Required for F0 handling of persisted conversations.
|
||||||
|
|
||||||
GBLogEx.info(
|
GBLogEx.info(
|
||||||
|
|
Loading…
Add table
Reference in a new issue