Fix tests

pull/749/head
lilia 11 years ago
parent f1309b71c1
commit 04796e56d1

@ -44,8 +44,10 @@
return this.get('type') === 'incoming'; return this.get('type') === 'incoming';
}, },
getContact: function() { getContact: function() {
if (this.collection) {
return this.collection.conversation.contactCollection.get(this.get('source')); return this.collection.conversation.contactCollection.get(this.get('source'));
} }
}
}); });
Whisper.MessageCollection = Backbone.Collection.extend({ Whisper.MessageCollection = Backbone.Collection.extend({

Loading…
Cancel
Save