mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 20:12:19 +00:00
Added a flags key to message object
This commit is contained in:
parent
9fd4588b74
commit
e2c0a41f88
1 changed files with 3 additions and 2 deletions
|
|
@ -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();
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue