From 3730bf86cc3ae165991cb5a2039b0ac191e9a9ca Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 20 Oct 2020 16:05:05 +0200 Subject: [PATCH] Updated 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 1899f6ab7..9010fc3ac 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;