diff options
Diffstat (limited to 'webapp/stores/channel_store.jsx')
-rw-r--r-- | webapp/stores/channel_store.jsx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/webapp/stores/channel_store.jsx b/webapp/stores/channel_store.jsx index 16a094c7b..f0258d02a 100644 --- a/webapp/stores/channel_store.jsx +++ b/webapp/stores/channel_store.jsx @@ -26,7 +26,6 @@ class ChannelStoreClass extends EventEmitter { this.channels = []; this.myChannelMembers = {}; this.moreChannels = {}; - this.moreChannels.loading = true; this.stats = {}; this.unreadCounts = {}; } @@ -300,13 +299,7 @@ class ChannelStoreClass extends EventEmitter { const ch = this.get(id); const chMember = this.getMyMember(id); - if (ch == null) { - console.log('setUnreadCountByChannel: missing channel id ' + id); //eslint-disable-line no-console - return; - } - - if (chMember == null) { - console.log('setUnreadCountByChannel: missing channel member for channel id ' + id); //eslint-disable-line no-console + if (ch == null || chMember == null) { return; } |