fix(core.gbapp): Sending text in .md is back again.
This commit is contained in:
parent
cd2cdd66f7
commit
119c06949a
1 changed files with 4 additions and 4 deletions
|
@ -477,7 +477,7 @@ export class GBConversationalService {
|
||||||
break;
|
break;
|
||||||
case State.InLineBreak1:
|
case State.InLineBreak1:
|
||||||
if (c === '\n') {
|
if (c === '\n') {
|
||||||
if (mobile === null) {
|
if (!mobile) {
|
||||||
await step.context.sendActivity(currentText);
|
await step.context.sendActivity(currentText);
|
||||||
} else {
|
} else {
|
||||||
await this.sendToMobile(min, mobile, currentText);
|
await this.sendToMobile(min, mobile, currentText);
|
||||||
|
@ -497,7 +497,7 @@ export class GBConversationalService {
|
||||||
case State.InEmbedBegin:
|
case State.InEmbedBegin:
|
||||||
if (c === '=') {
|
if (c === '=') {
|
||||||
if (currentText !== '') {
|
if (currentText !== '') {
|
||||||
if (mobile === null) {
|
if (!mobile) {
|
||||||
await step.context.sendActivity(currentText);
|
await step.context.sendActivity(currentText);
|
||||||
} else {
|
} else {
|
||||||
await this.sendToMobile(min, mobile, currentText);
|
await this.sendToMobile(min, mobile, currentText);
|
||||||
|
@ -530,7 +530,7 @@ export class GBConversationalService {
|
||||||
case State.InImageBegin:
|
case State.InImageBegin:
|
||||||
if (c === '[') {
|
if (c === '[') {
|
||||||
if (currentText !== '') {
|
if (currentText !== '') {
|
||||||
if (mobile === null) {
|
if (!mobile) {
|
||||||
await step.context.sendActivity(currentText);
|
await step.context.sendActivity(currentText);
|
||||||
} else {
|
} else {
|
||||||
await this.sendToMobile(min, mobile, currentText);
|
await this.sendToMobile(min, mobile, currentText);
|
||||||
|
@ -573,7 +573,7 @@ export class GBConversationalService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (currentText !== '') {
|
if (currentText !== '') {
|
||||||
if (mobile === null) {
|
if (!mobile) {
|
||||||
await step.context.sendActivity(currentText);
|
await step.context.sendActivity(currentText);
|
||||||
} else {
|
} else {
|
||||||
await this.sendToMobile(min, mobile, currentText);
|
await this.sendToMobile(min, mobile, currentText);
|
||||||
|
|
Loading…
Add table
Reference in a new issue