diff --git a/lib/channel.js b/lib/channel.js index 17390e9e6..bb67fcf4f 100644 --- a/lib/channel.js +++ b/lib/channel.js @@ -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... diff --git a/src/channel.js b/src/channel.js index df266ba1c..a7185e17f 100644 --- a/src/channel.js +++ b/src/channel.js @@ -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...