From 268d19815a59c869f92c11ce392d83a07c5950ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Majdand=C5=BEi=C4=87?= Date: Sun, 26 Mar 2023 17:41:45 +0200 Subject: [PATCH] Fix issue with client send --- main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.js b/main.js index 5e7245c..899250f 100644 --- a/main.js +++ b/main.js @@ -1026,6 +1026,9 @@ class HTTPServer { send(req, res) { let session = clientSessionManager.getSession(req.params.id); + let source = req.body.source; + let destination = req.body.destination; + let message = req.body.message; this.logger.log1(`Sending message from ${source} to ${destination} with message ${message} on session with ID ${req.params.id}`) if (session) { session.send(source, destination, message)