From db2ef15a0912d56bb198236cfa98b5a2001d70ca Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 7 Aug 2014 16:06:23 -0400 Subject: [PATCH] linting --- src/messaging.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/messaging.js b/src/messaging.js index 7d7018d388..b220cbb728 100644 --- a/src/messaging.js +++ b/src/messaging.js @@ -258,7 +258,9 @@ var db = require('./database'), db.sortedSetAdd('uid:' + uid + ':chats:unread', Date.now(), toUid, callback); }; - // todo #1798 -- this utility method creates a room name given an array of uids. + /* + todo #1798 -- this utility method creates a room name given an array of uids. + Messaging.uidsToRoom = function(uids, callback) { uid = parseInt(uid, 10); if (typeof uid === 'number' && Array.isArray(roomUids)) { @@ -274,7 +276,7 @@ var db = require('./database'), } else { callback(new Error('invalid-uid-or-participant-uids')); } - }; + };*/ Messaging.verifySpammer = function(uid, callback) { var messagesToCompare = 10;