diff --git a/src/PMChannel.js b/src/PMChannel.js index 6b069d50b..d82cf7932 100644 --- a/src/PMChannel.js +++ b/src/PMChannel.js @@ -20,6 +20,10 @@ class PMChannel { } return null; } + + get isPrivate(){ + return true; + } } module.exports = PMChannel; \ No newline at end of file diff --git a/src/channel.js b/src/channel.js index d32ab580d..0dc0b957a 100644 --- a/src/channel.js +++ b/src/channel.js @@ -36,6 +36,10 @@ class Channel { toString(){ return "#" + this.name; } + + get isPrivate(){ + return false; + } } module.exports = Channel; \ No newline at end of file