@ -162,8 +162,8 @@
}
},
fetchMessages: function(options) {
return this.messageCollection.fetchConversation(this.id, options);
fetchMessages: function() {
return this.messageCollection.fetchConversation(this.id);
fetchContacts: function(options) {
@ -258,8 +258,8 @@
});
fetchConversation: function(conversationId, options) {
options = options || {};
fetchConversation: function(conversationId) {
var options = {};
options.index = {
// 'conversation' index on [conversationId, received_at]
name : 'conversation',