Skip to content

Commit

Permalink
fix(kb.gbapp): Content plain text to other channels when no projector…
Browse files Browse the repository at this point in the history
… is avilable.
  • Loading branch information
rodrigorodriguez committed Feb 3, 2020
1 parent db85582 commit 283e596
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/kb.gbapp/services/KBService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 283e596

Please sign in to comment.