refactor(SystemKeywords): comment out unused ID column logic for clarity
Some checks failed
GBCI / build (push) Failing after 10m30s
Some checks failed
GBCI / build (push) Failing after 10m30s
This commit is contained in:
parent
5c3b24dadd
commit
26eb714e2c
1 changed files with 9 additions and 0 deletions
|
@ -1315,6 +1315,9 @@ export class GBMinService {
|
||||||
if (!(await sec.getParam(user, 'welcomed'))) {
|
if (!(await sec.getParam(user, 'welcomed'))) {
|
||||||
const startDialog = min.core.getParam(min.instance, 'Start Dialog', null);
|
const startDialog = min.core.getParam(min.instance, 'Start Dialog', null);
|
||||||
if (startDialog) {
|
if (startDialog) {
|
||||||
|
const t = new SystemKeywords();
|
||||||
|
t.setMemoryContext({pid:pid,erase:true});
|
||||||
|
s
|
||||||
await sec.setParam(userId, 'welcomed', 'true');
|
await sec.setParam(userId, 'welcomed', 'true');
|
||||||
GBLogEx.info(
|
GBLogEx.info(
|
||||||
min,
|
min,
|
||||||
|
@ -1354,6 +1357,9 @@ export class GBMinService {
|
||||||
) {
|
) {
|
||||||
|
|
||||||
const pid = GBVMService.createProcessInfo(user, min, step.context.activity.channelId, null, step);
|
const pid = GBVMService.createProcessInfo(user, min, step.context.activity.channelId, null, step);
|
||||||
|
const t = new SystemKeywords();
|
||||||
|
t.setMemoryContext({pid:pid,erase:true});
|
||||||
|
|
||||||
step.context.activity['pid'] = pid;
|
step.context.activity['pid'] = pid;
|
||||||
|
|
||||||
min['conversationWelcomed'][step.context.activity.conversation.id] = true;
|
min['conversationWelcomed'][step.context.activity.conversation.id] = true;
|
||||||
|
@ -1687,6 +1693,9 @@ export class GBMinService {
|
||||||
!step.context.activity['group']
|
!step.context.activity['group']
|
||||||
) {
|
) {
|
||||||
await sec.setParam(userId, 'welcomed', 'true');
|
await sec.setParam(userId, 'welcomed', 'true');
|
||||||
|
const t = new SystemKeywords();
|
||||||
|
t.setMemoryContext({pid:pid,erase:true});
|
||||||
|
|
||||||
min['conversationWelcomed'][step.context.activity.conversation.id] = true;
|
min['conversationWelcomed'][step.context.activity.conversation.id] = true;
|
||||||
GBLogEx.info(
|
GBLogEx.info(
|
||||||
min,
|
min,
|
||||||
|
|
Loading…
Add table
Reference in a new issue