From 763d4f2677c0c6ffac3d801152728437e1a653ec Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 7 Apr 2022 13:20:09 +0200 Subject: [PATCH] Rollback --- back/methods/chat/send.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/back/methods/chat/send.js b/back/methods/chat/send.js index 51ecb801a..fcb49f4b8 100644 --- a/back/methods/chat/send.js +++ b/back/methods/chat/send.js @@ -31,9 +31,9 @@ module.exports = Self => { const recipient = to.replace('@', ''); if (sender.name != recipient) { - const request = await sendMessage(sender, to, message); + await sendMessage(sender, to, message); - return request ? request : false; + return true; } return false;