lib/Chat.js
Function ChatController
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.ChatController = function(db){
// Redis Client
this.dbredis = db;
Function add
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.add = function(userid, touserid, encryptedMsgUser, encryptedMsgToUser, isFile, cb){