共有可能チャンネルに接続しようとしていて、かつそのチャンネルに既に接続していたら無意味なので無視するように
This commit is contained in:
parent
ad67886f96
commit
e85f9f4aa5
17 changed files with 59 additions and 11 deletions
|
|
@ -7,6 +7,8 @@ import Connection from '.';
|
|||
export default abstract class Channel {
|
||||
protected connection: Connection;
|
||||
public id: string;
|
||||
public abstract readonly chName: string;
|
||||
public abstract readonly shouldShare: boolean;
|
||||
|
||||
protected get user() {
|
||||
return this.connection.user;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue