fix(core.gbapp): #372 fix.

This commit is contained in:
Rodrigo Rodriguez 2023-09-29 15:38:41 -03:00
parent 9dfd3412ba
commit 49d47f6e6c

View file

@ -528,7 +528,7 @@ export class GBConversationalService {
public async playMarkdown(min: GBMinInstance, answer: string, channel: string, step: GBDialogStep, mobile: string) {
const sec = new SecService();
let user = await sec.getUserFromSystemId(step?step.context.activity.from.id:mobile);
const user = await sec.getUserFromSystemId(mobile?mobile:step.context.activity.from.id);
let text = answer;