Fix issue with client send

This commit is contained in:
David Majdandžić
2023-03-26 17:41:45 +02:00
parent 35e5edef5d
commit 268d19815a

View File

@@ -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)