Fix eslint

This commit is contained in:
Daniel Odendahl Jr
2017-07-28 15:17:35 +00:00
parent 99d14de2c1
commit 0b704f78aa
+1 -1
View File
@@ -44,7 +44,7 @@ class Util {
static parseTopic(channels, setting, user) {
const channelList = channels.filter(c => {
const topic = c.topic || '';
if (topic.includes(`<${setting}>`) && c.type === 'text' && c.permissionsFor(user).has('SEND_MESSAGES')) return true;
if (topic.includes(`<${setting}>`) && c.type === 'text' && c.permissionsFor(user).has('SEND_MESSAGES')) return true; // eslint-disable-line max-len
return false;
});
if (!channelList) return false;