new(core.gbapp): New API endpoint.
This commit is contained in:
parent
43feb52788
commit
cafebf6fe2
1 changed files with 1 additions and 1 deletions
|
@ -1226,7 +1226,7 @@ export class GBConversationalService {
|
|||
}
|
||||
analytics.createMessage(min.instance.instanceId, conversation, null, text);
|
||||
|
||||
if (member && !isNaN(member.id) && !member.id.startsWith('1000')) {
|
||||
if (!step && member && !isNaN(member.id) && !member.id.startsWith('1000')) {
|
||||
const to = step.context.activity.group ? step.context.activity.group : member.id;
|
||||
|
||||
await min.whatsAppDirectLine.sendToDevice(to, text, step.context.activity.conversation.id);
|
||||
|
|
Loading…
Add table
Reference in a new issue