From 5559809aff6943715b774302cab09c3116e04576 Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Sun, 27 Sep 2015 17:18:09 +0100 Subject: [PATCH] Added channel.topic --- lib/channel.js | 1 + src/channel.js | 1 + 2 files changed, 2 insertions(+) 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...