Added flagCount variable

This commit is contained in:
Blade Barringer
2014-12-11 13:00:25 -06:00
parent d24f6ad1ac
commit 6fb531234d
2 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -99,7 +99,8 @@ var chatDefaults = module.exports.chatDefaults = function(msg,user){
text: msg,
timestamp: +new Date,
likes: {},
flags: {}
flags: {},
flagCount: 0
};
if (user) {
_.defaults(message, {