Fix indantations

This commit is contained in:
syuilo
2017-03-20 19:10:13 +09:00
parent 1e2320a6e6
commit 29dd593fbe
2 changed files with 35 additions and 35 deletions

View File

@@ -36,10 +36,10 @@ export default function homeStream(request: websocket.request, connection: webso
switch (msg.type) {
case 'capture':
if (!msg.id) return;
const postId = msg.id;
log(`CAPTURE: ${postId} by @${user.username}`);
subscriber.subscribe(`misskey:post-stream:${postId}`);
if (!msg.id) return;
const postId = msg.id;
log(`CAPTURE: ${postId} by @${user.username}`);
subscriber.subscribe(`misskey:post-stream:${postId}`);
break;
}
});