summaryrefslogtreecommitdiff
path: root/src/stream.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.ts')
-rw-r--r--src/stream.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.ts b/src/stream.ts
index b2aa4f0e2a..cec5fcf0f3 100644
--- a/src/stream.ts
+++ b/src/stream.ts
@@ -50,7 +50,7 @@ class MisskeyEvent {
}
public publishHybridTimelineStream(userId: ID, note: any): void {
- this.redisClient.publish(`misskey:hybrid-timeline:${userId}`, JSON.stringify(note));
+ this.redisClient.publish(userId ? `misskey:hybrid-timeline:${userId}` : 'misskey:hybrid-timeline', JSON.stringify(note));
}
public publishGlobalTimelineStream(note: any): void {