finally fix pong reply after 5 years

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2025-08-30 22:49:52 +01:00
parent b515576317
commit 97f61b3562

View File

@ -6602,7 +6602,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
obj.send({ action: 'meshes', meshes: parent.GetAllMeshWithRights(user).map(parent.CloneSafeMesh), tag: command.tag });
}
function serverCommandPing(command) { try { ws.send('{action:"pong"}'); } catch (ex) { } }
function serverCommandPing(command) { try { ws.send('{"action":"pong"}'); } catch (ex) { } }
function serverCommandPong(command) { } // NOP
function serverCommandPowerTimeline(command) {