Skip to content

Commit

Permalink
fix(core.gbapp): Sending text in .md is back again.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Jan 28, 2021
1 parent cd2cdd6 commit 119c069
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/core.gbapp/services/GBConversationalService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 119c069

Please sign in to comment.