Added channel.topic

This commit is contained in:
hydrabolt
2015-09-27 17:18:09 +01:00
parent 5819fb4daf
commit 5559809aff
2 changed files with 2 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ var Channel = (function () {
this.server = server;
this.name = data.name;
this.type = data.type;
this.topic = data.topic;
this.id = data.id;
this.messages = [];
//this.isPrivate = isPrivate; //not sure about the implementation of this...

View File

@@ -4,6 +4,7 @@ class Channel {
this.server = server;
this.name = data.name;
this.type = data.type;
this.topic = data.topic;
this.id = data.id;
this.messages = [];
//this.isPrivate = isPrivate; //not sure about the implementation of this...