From e2c0a41f8845d9f62eb8d047a276db0f3b818604 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Fri, 5 Dec 2014 06:47:04 -0600 Subject: [PATCH] Added a flags key to message object --- src/models/group.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 +})