fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
2 changed files with 10 additions and 9 deletions
Showing only changes of commit fff1504a00 - Show all commits

View file

@ -224,14 +224,14 @@ export class GBVMService extends GBService {
// Unmarshalls Local variables from server VM. // Unmarshalls Local variables from server VM.
let pid = this.pid; const pid = this.pid;
let id = this.id; let id = this.id;
let username = this.username; let username = this.username;
let mobile = this.mobile; let mobile = this.mobile;
let from = this.from; let from = this.from;
let channel = this.channel; const channel = this.channel;
let ENTER = this.ENTER; const ENTER = this.ENTER;
let headers = this.headers; const headers = this.headers;
let data = this.data; let data = this.data;
let list = this.list; let list = this.list;
let httpUsername = this.httpUsername; let httpUsername = this.httpUsername;
@ -239,9 +239,9 @@ export class GBVMService extends GBService {
let today = this.today; let today = this.today;
let now = this.now; let now = this.now;
let page = null; let page = null;
let files = []; const files = [];
let col = 1; let col = 1;
let index = 1 let index = 1;
// Makes objects in BASIC insensitive. // Makes objects in BASIC insensitive.
@ -249,7 +249,7 @@ export class GBVMService extends GBService {
if (!listOrRow) { if (!listOrRow) {
return listOrRow return listOrRow;
}; };
const lowercase = (oldKey) => typeof oldKey === 'string' ? oldKey.toLowerCase() : oldKey; const lowercase = (oldKey) => typeof oldKey === 'string' ? oldKey.toLowerCase() : oldKey;

View file

@ -1297,10 +1297,11 @@ export class GBMinService {
context.activity.text context.activity.text
); );
}
}
const conversationReference = JSON.stringify(TurnContext.getConversationReference(context.activity)); const conversationReference = JSON.stringify(TurnContext.getConversationReference(context.activity));
await sec.updateConversationReferenceById(userId, conversationReference); await sec.updateConversationReferenceById(userId, conversationReference);
}
}
if (GBMinService.userMobile(step)) { if (GBMinService.userMobile(step)) {
const startDialog = user.hearOnDialog ? user.hearOnDialog : min.core.getParam(min.instance, 'Start Dialog', null); const startDialog = user.hearOnDialog ? user.hearOnDialog : min.core.getParam(min.instance, 'Start Dialog', null);