mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-20 19:55:28 +02:00
共有可能チャンネルに接続しようとしていて、かつそのチャンネルに既に接続していたら無意味なので無視するように
This commit is contained in:
@@ -8,6 +8,9 @@ import * as maps from '../../../../../games/reversi/maps';
|
||||
import Channel from '../../channel';
|
||||
|
||||
export default class extends Channel {
|
||||
public readonly chName = 'gamesReversiGame';
|
||||
public readonly shouldShare = false;
|
||||
|
||||
private gameId: mongo.ObjectID;
|
||||
|
||||
@autobind
|
||||
|
||||
@@ -5,6 +5,9 @@ import { publishMainStream } from '../../../../../stream';
|
||||
import Channel from '../../channel';
|
||||
|
||||
export default class extends Channel {
|
||||
public readonly chName = 'gamesReversi';
|
||||
public readonly shouldShare = true;
|
||||
|
||||
@autobind
|
||||
public async init(params: any) {
|
||||
// Subscribe reversi stream
|
||||
|
||||
Reference in New Issue
Block a user