diff --git a/src/models/group.js b/src/models/group.js index 1bc275afe4..649d8d571b 100644 --- a/src/models/group.js +++ b/src/models/group.js @@ -98,7 +98,8 @@ var chatDefaults = module.exports.chatDefaults = function(msg,user){ id: shared.uuid(), text: msg, timestamp: +new Date, - likes: {} + likes: {}, + flags: {} }; if (user) { _.defaults(message, { @@ -330,4 +331,4 @@ Group.count({_id:'habitrpg'},function(err,ct){ type: 'guild', privacy:'public' }).save(); -}) \ No newline at end of file +})