From 305b47132cce982e5d3bb0627982b4ea2d98f622 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 6 Jun 2018 17:55:02 +0200 Subject: [PATCH] lint compliance --- www/common/outer/async-store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 1057dee08..5e6b1b261 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -854,7 +854,7 @@ define([ var messagingCfg = getMessagingCfg(clientId); Messaging.inviteFromUserlist(messagingCfg, data, cb); }; - Store.addDirectMessageHandlers = function (clientId, data, cb) { + Store.addDirectMessageHandlers = function (clientId, data) { var messagingCfg = getMessagingCfg(clientId); Messaging.addDirectMessageHandler(messagingCfg, data.href); }; @@ -966,7 +966,7 @@ define([ pushHistory: function (msg, isCp) { if (isCp) { channel.history.push('cp|' + msg); - var i, cpCount = 1; + var i; for (i = channel.history.length - 2; i > 0; i--) { if (/^cp\|/.test(channel.history[i])) { break; } }