From 26eb714e2c3a5498ed87235a7dc1e7e47233c042 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Sat, 19 Jul 2025 22:27:47 -0300 Subject: [PATCH] refactor(SystemKeywords): comment out unused ID column logic for clarity --- packages/core.gbapp/services/GBMinService.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/core.gbapp/services/GBMinService.ts b/packages/core.gbapp/services/GBMinService.ts index 68a6990e..0e74b167 100644 --- a/packages/core.gbapp/services/GBMinService.ts +++ b/packages/core.gbapp/services/GBMinService.ts @@ -1315,6 +1315,9 @@ export class GBMinService { if (!(await sec.getParam(user, 'welcomed'))) { const startDialog = min.core.getParam(min.instance, 'Start Dialog', null); if (startDialog) { + const t = new SystemKeywords(); + t.setMemoryContext({pid:pid,erase:true}); +s await sec.setParam(userId, 'welcomed', 'true'); GBLogEx.info( min, @@ -1354,6 +1357,9 @@ export class GBMinService { ) { 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; min['conversationWelcomed'][step.context.activity.conversation.id] = true; @@ -1687,6 +1693,9 @@ export class GBMinService { !step.context.activity['group'] ) { await sec.setParam(userId, 'welcomed', 'true'); + const t = new SystemKeywords(); + t.setMemoryContext({pid:pid,erase:true}); + min['conversationWelcomed'][step.context.activity.conversation.id] = true; GBLogEx.info( min,