fix(kb.gbapp): Content plain text to other channels when no projector is avilable.

This commit is contained in:
Rodrigo Rodriguez 2020-02-03 10:52:47 -03:00
parent db8558254f
commit 283e596c80

View file

@ -392,6 +392,10 @@ export class KBService {
else if (channel === 'whatsapp') {
await this.sendMarkdownToMobile(step, answer, conversationalService, min);
}
else
{
await step.context.sendActivity(html);
}
}
private async sendMarkdownToWeb(step: GBDialogStep, conversationalService: IGBConversationalService, html: string, answer: GuaribasAnswer) {