logux / server

Build your own Logux server or make a proxy between a WebSocket and an HTTP backend in any language

Home Page:https://logux.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong meta key in Context#sendBack

semenovDL opened this issue · comments

Context#sendBack use clientIds as meta keys (https://github.com/logux/server/blob/master/context.js#L107), but BaseServer#sendAction is waiting for meta.clients (https://github.com/logux/server/blob/master/base-server.js#L735)

Thanks, I missed it.

Do you want to send PR to save your name in the project history?

@ai sure, I'll send PR. Which one is preferred? clients as for other meta keys?

Yeap, meta.clients is correct