From 50a2dcbffc30bd6bce7daf13ad598af2310070bb Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Sun, 13 Aug 2023 19:47:39 -0300 Subject: [PATCH] fix(basic.gbapp): AS IMAGE testing. --- packages/basic.gblib/services/DialogKeywords.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/basic.gblib/services/DialogKeywords.ts b/packages/basic.gblib/services/DialogKeywords.ts index 31c4b7ae..6e1a8acc 100644 --- a/packages/basic.gblib/services/DialogKeywords.ts +++ b/packages/basic.gblib/services/DialogKeywords.ts @@ -495,8 +495,9 @@ export class DialogKeywords { * */ public async sendFileTo({ pid, mobile, filename, caption }) { + const { min, user, proc } = await DialogKeywords.getProcessInfo(pid); GBLog.info(`BASIC: SEND FILE TO '${mobile}',filename '${filename}'.`); - return await this.internalSendFile({ pid, mobile, channel: null, filename, caption }); + return await this.internalSendFile({ pid, mobile, channel: proc.channel, filename, caption }); } /**