Added flagCount variable
This commit is contained in:
+2
-1
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user