fix(core.gbapp): Sending text in .md is back again.

This commit is contained in:
Rodrigo Rodriguez 2021-01-28 07:57:30 -03:00
parent cd2cdd66f7
commit 119c06949a

View file

@ -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);