Add alias

This commit is contained in:
syuilo
2018-10-10 03:24:09 +09:00
parent db248a69c8
commit 9bebbf4e03
2 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,7 @@ abstract class Connection extends EventEmitter {
const type = payload === undefined ? typeOrPayload.type : typeOrPayload;
const body = payload === undefined ? typeOrPayload.body : payload;
this.stream.send('channel', {
this.stream.send('ch', {
id: this.id,
type: type,
body: body