From 86d3e2d689c373696d95d078997aec5cad5af2dd Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 20 Oct 2020 16:03:07 +0200 Subject: [PATCH] Changed message destinatary --- modules/ticket/back/methods/ticket/componentUpdate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ticket/back/methods/ticket/componentUpdate.js b/modules/ticket/back/methods/ticket/componentUpdate.js index 1899f6ab7d..9010fc3aca 100644 --- a/modules/ticket/back/methods/ticket/componentUpdate.js +++ b/modules/ticket/back/methods/ticket/componentUpdate.js @@ -159,7 +159,7 @@ module.exports = Self => { ticketUrl: `${origin}/#!/ticket/${id}/summary`, changes: changesMade }); - await models.Chat.send(ctx, '@joan', message); + await models.Chat.sendCheckingPresence(ctx, salesPersonId, message); } return res;