summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornullobsi <me@nullob.si>2022-01-29 18:27:43 -0800
committerGitHub <noreply@github.com>2022-01-30 11:27:43 +0900
commit84dffdf510b502678db7a204f0eb03ff96b0bc2b (patch)
treed4d0c378c26e7adcb8a5a3aeb7439a9244627bbf
parent0.0.13 (diff)
downloadmisskey-84dffdf510b502678db7a204f0eb03ff96b0bc2b.tar.gz
misskey-84dffdf510b502678db7a204f0eb03ff96b0bc2b.tar.bz2
misskey-84dffdf510b502678db7a204f0eb03ff96b0bc2b.zip
fix (#42)
-rw-r--r--src/streaming.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/streaming.ts b/src/streaming.ts
index c354a758f4..92b83192cf 100644
--- a/src/streaming.ts
+++ b/src/streaming.ts
@@ -156,11 +156,11 @@ export default class Stream extends EventEmitter<StreamEvents> {
}
for (const c of connections) {
- c.emit(body.type, Object.freeze(body.body));
+ c.emit(body.type, body.body);
c.inCount++;
}
} else {
- this.emit(type, Object.freeze(body));
+ this.emit(type, body);
}
}