channelJoin(name) {
		const { chat } = this.properties
		const channel = chat.channels.find(item => item.name === name)
		if (typeof channel === "undefined") {
			chat.socket.emit(ChatServer.EVENT.CHANNEL_JOIN, name)
		} else if(channel.disconnected === true) {
			chat.socket.emit(ChatServer.EVENT.CHANNEL_RECONNECT, name)
		} else {
			chat.emit("channelSet", channel)
		}
	}
/**
	 * @event ChannelsEventListener#channelJoin
	 * @property {string} name
	 */
@event ChannelsEventListener#channelJoin
@property {string} name
@event ChannelsEventListener#channelJoin @property { string } name
channelJoin(name) {
		const { chat } = this.properties
		const channel = chat.channels.find(item => item.name === name)
		if (typeof channel === "undefined") {
			chat.socket.emit(ChatServer.EVENT.CHANNEL_JOIN, name)
		} else if(channel.disconnected === true) {
			chat.socket.emit(ChatServer.EVENT.CHANNEL_RECONNECT, name)
		} else {
			chat.emit("channelSet", channel)
		}
	}
channelJoin ( name ) { const { chat } = this . properties const channel = chat . channels . find ( item => item . name === name ) if ( typeof channel === "undefined" ) { chat . socket . emit ( ChatServer . EVENT . CHANNEL_JOIN , name ) } else if ( channel . disconnected === true ) { chat . socket . emit ( ChatServer . EVENT . CHANNEL_RECONNECT , name ) } else { chat . emit ( "channelSet" , channel ) } }
@event ChannelsEventListener#channelJoin
 @property {string} name
@event ChannelsEventListener#channelJoin @property { string } name