Fix tests
This commit is contained in:
parent
f1309b71c1
commit
04796e56d1
1 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,9 @@
|
|||
return this.get('type') === 'incoming';
|
||||
},
|
||||
getContact: function() {
|
||||
return this.collection.conversation.contactCollection.get(this.get('source'));
|
||||
if (this.collection) {
|
||||
return this.collection.conversation.contactCollection.get(this.get('source'));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue