summaryrefslogtreecommitdiff
path: root/src/server/api/stream/othello.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-04-02 13:35:46 +0900
committerGitHub <noreply@github.com>2018-04-02 13:35:46 +0900
commitfc5284e9aa709dcda4799e6c0f4e445d138c4914 (patch)
tree7a417a3bb5cfde837afa5bde0de2c1756b053e2b /src/server/api/stream/othello.ts
parentMerge pull request #1363 from akihikodaki/misc (diff)
parentIntroduce publishers directory (diff)
downloadmisskey-fc5284e9aa709dcda4799e6c0f4e445d138c4914.tar.gz
misskey-fc5284e9aa709dcda4799e6c0f4e445d138c4914.tar.bz2
misskey-fc5284e9aa709dcda4799e6c0f4e445d138c4914.zip
Merge pull request #1364 from akihikodaki/misc
Introduce publishers directory
Diffstat (limited to 'src/server/api/stream/othello.ts')
-rw-r--r--src/server/api/stream/othello.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/stream/othello.ts b/src/server/api/stream/othello.ts
index 4c292056da..fa62b05836 100644
--- a/src/server/api/stream/othello.ts
+++ b/src/server/api/stream/othello.ts
@@ -2,7 +2,7 @@ import * as mongo from 'mongodb';
import * as websocket from 'websocket';
import * as redis from 'redis';
import Matching, { pack } from '../../../models/othello-matching';
-import publishUserStream from '../../../event';
+import publishUserStream from '../../../publishers/stream';
export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user: any): void {
// Subscribe othello stream