From 119c06949aa446fe4971563f86fa7f32475674f4 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Thu, 28 Jan 2021 07:57:30 -0300 Subject: [PATCH] fix(core.gbapp): Sending text in .md is back again. --- packages/core.gbapp/services/GBConversationalService.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core.gbapp/services/GBConversationalService.ts b/packages/core.gbapp/services/GBConversationalService.ts index 9f5708a0..85157a7e 100644 --- a/packages/core.gbapp/services/GBConversationalService.ts +++ b/packages/core.gbapp/services/GBConversationalService.ts @@ -477,7 +477,7 @@ export class GBConversationalService { break; case State.InLineBreak1: if (c === '\n') { - if (mobile === null) { + if (!mobile) { await step.context.sendActivity(currentText); } else { await this.sendToMobile(min, mobile, currentText); @@ -497,7 +497,7 @@ export class GBConversationalService { case State.InEmbedBegin: if (c === '=') { if (currentText !== '') { - if (mobile === null) { + if (!mobile) { await step.context.sendActivity(currentText); } else { await this.sendToMobile(min, mobile, currentText); @@ -530,7 +530,7 @@ export class GBConversationalService { case State.InImageBegin: if (c === '[') { if (currentText !== '') { - if (mobile === null) { + if (!mobile) { await step.context.sendActivity(currentText); } else { await this.sendToMobile(min, mobile, currentText); @@ -573,7 +573,7 @@ export class GBConversationalService { } } if (currentText !== '') { - if (mobile === null) { + if (!mobile) { await step.context.sendActivity(currentText); } else { await this.sendToMobile(min, mobile, currentText);