Conversations do not require timestamps

Synced contacts will not include timestamps
This commit is contained in:
lilia 2015-06-03 10:29:20 -07:00
parent 6d9854f456
commit 290283f810

View file

@ -42,7 +42,7 @@
},
validate: function(attributes, options) {
var required = ['id', 'type', 'timestamp'];
var required = ['id', 'type'];
var missing = _.filter(required, function(attr) { return !attributes[attr]; });
if (missing.length) { return "Conversation must have " + missing; }