From 484ccdc0141e93efcc8c5aaaec58109bc0932d09 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 2 Jan 2016 18:34:50 -0700 Subject: [PATCH] Fix to/from user ID meta --- core/message.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/message.js b/core/message.js index 11dcbf83..4b99fcfc 100644 --- a/core/message.js +++ b/core/message.js @@ -33,7 +33,7 @@ function Message(options) { this.viewCount = options.viewCount || 0; this.meta = { - system : {}, // we'll always have this one + System : {}, // we'll always have this one }; if(_.isObject(options.meta)) { @@ -125,11 +125,11 @@ Message.FtnPropertyNames = { // Note: kludges are stored with their names as-is Message.prototype.setLocalToUserId = function(userId) { - this.meta.system.local_to_user_id = userId; + this.meta.System.local_to_user_id = userId; }; Message.prototype.setLocalFromUserId = function(userId) { - this.meta.system.local_from_user_id = userId; + this.meta.System.local_from_user_id = userId; }; Message.prototype.load = function(options, cb) {