mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Fix crash in message detail view
Fix crash when there's no contact for a group member.
This commit is contained in:
@@ -107,10 +107,11 @@
|
||||
}).render().$el.appendTo(this.$el.find('.contacts'));
|
||||
}.bind(this));
|
||||
} else {
|
||||
var contact = this.conversation.contactCollection.get(this.model.get('source'));
|
||||
var number = this.model.get('source');
|
||||
var contact = this.conversation.contactCollection.get(number);
|
||||
var v = new ContactView({
|
||||
model: contact,
|
||||
conflict: this.model.getKeyConflict(contact.id)
|
||||
conflict: this.model.getKeyConflict(number)
|
||||
}).render().$el.appendTo(this.$el.find('.contacts'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user