summaryrefslogtreecommitdiff
path: root/src/publishers
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-06-17 08:10:54 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-06-17 08:10:54 +0900
commit1ef66c962a1cea81dee4f5db32cd011feac7de44 (patch)
tree006945b7ae9d437cebb0fabc5eb5a849cff518c5 /src/publishers
parentAdd missing semicolon (diff)
downloadmisskey-1ef66c962a1cea81dee4f5db32cd011feac7de44.tar.gz
misskey-1ef66c962a1cea81dee4f5db32cd011feac7de44.tar.bz2
misskey-1ef66c962a1cea81dee4f5db32cd011feac7de44.zip
reversi :white_flower: :100:
Diffstat (limited to 'src/publishers')
-rw-r--r--src/publishers/stream.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/publishers/stream.ts b/src/publishers/stream.ts
index 58a6ef49aa..b573b65a65 100644
--- a/src/publishers/stream.ts
+++ b/src/publishers/stream.ts
@@ -37,12 +37,12 @@ class MisskeyEvent {
this.publish(`messaging-index-stream:${userId}`, type, typeof value === 'undefined' ? null : value);
}
- public publishOthelloStream(userId: ID, type: string, value?: any): void {
- this.publish(`othello-stream:${userId}`, type, typeof value === 'undefined' ? null : value);
+ public publishReversiStream(userId: ID, type: string, value?: any): void {
+ this.publish(`reversi-stream:${userId}`, type, typeof value === 'undefined' ? null : value);
}
- public publishOthelloGameStream(gameId: ID, type: string, value?: any): void {
- this.publish(`othello-game-stream:${gameId}`, type, typeof value === 'undefined' ? null : value);
+ public publishReversiGameStream(gameId: ID, type: string, value?: any): void {
+ this.publish(`reversi-game-stream:${gameId}`, type, typeof value === 'undefined' ? null : value);
}
public publishLocalTimelineStream(note: any): void {
@@ -73,5 +73,5 @@ export const publishUserListStream = ev.publishUserListStream.bind(ev);
export const publishNoteStream = ev.publishNoteStream.bind(ev);
export const publishMessagingStream = ev.publishMessagingStream.bind(ev);
export const publishMessagingIndexStream = ev.publishMessagingIndexStream.bind(ev);
-export const publishOthelloStream = ev.publishOthelloStream.bind(ev);
-export const publishOthelloGameStream = ev.publishOthelloGameStream.bind(ev);
+export const publishReversiStream = ev.publishReversiStream.bind(ev);
+export const publishReversiGameStream = ev.publishReversiGameStream.bind(ev);