* Initial work on moving to JSON configured Message Areas (vs ID's in SQLite). This will be applied to user groups, and other types as well such that JSON can simply be edited in config.json
* Hopefully better/proper merge of config.js + config.json => config
This commit is contained in:
@@ -331,7 +331,8 @@ User.prototype.persistProperty = function(propName, propValue, cb) {
|
||||
User.prototype.persistProperties = function(properties, cb) {
|
||||
var self = this;
|
||||
|
||||
// :TODO: should probably add/update live properties
|
||||
// update live props
|
||||
_.merge(this.properties, properties);
|
||||
|
||||
var stmt = userDb.prepare(
|
||||
'REPLACE INTO user_property (user_id, prop_name, prop_value) ' +
|
||||
|
||||
Reference in New Issue
Block a user