remove misleading comment.

This commit is contained in:
Miroslav Šedivý 2021-04-12 20:58:42 +02:00
parent 7762c9632e
commit f9ca3a25db

View File

@ -248,7 +248,6 @@ export class NekoWebRTC extends EventEmitter<NekoWebRTCEvents> {
this._channel.onclose = this.onDisconnected.bind(this, new Error('peer data channel closed')) this._channel.onclose = this.onDisconnected.bind(this, new Error('peer data channel closed'))
} }
// not-implemented
private onData(e: MessageEvent) { private onData(e: MessageEvent) {
const payload = new DataView(e.data) const payload = new DataView(e.data)
const event = payload.getUint8(0) const event = payload.getUint8(0)