From 142869948c40900569f339a2177e95a3be3bbdfb Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 28 Feb 2021 16:11:06 +0300 Subject: config refactor --- src/server.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server.js') diff --git a/src/server.js b/src/server.js index b5eca9a..08eadca 100644 --- a/src/server.js +++ b/src/server.js @@ -373,6 +373,8 @@ class Connection extends EventEmitter { if (!(message instanceof Message)) throw new Error('send expects Message, got', message) + // TODO set password! + let json = JSON.stringify(message.getAsObject()) let buf = Buffer.concat([ Buffer.from(json), -- cgit v1.2.3