1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-15 07:08:56 +09:00
This commit is contained in:
nullobsi 2022-01-29 18:27:43 -08:00 committed by GitHub
parent 8ab9b92f60
commit 84dffdf510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,11 +156,11 @@ export default class Stream extends EventEmitter<StreamEvents> {
} }
for (const c of connections) { for (const c of connections) {
c.emit(body.type, Object.freeze(body.body)); c.emit(body.type, body.body);
c.inCount++; c.inCount++;
} }
} else { } else {
this.emit(type, Object.freeze(body)); this.emit(type, body);
} }
} }