Don't show myself in the message detail contacts list

// FREEBIE
This commit is contained in:
lilia 2015-10-08 06:13:36 -07:00
parent 87d4f0d5d8
commit b1c933ccd4

View file

@ -114,7 +114,9 @@
this.view.render().$el.prependTo(this.$('.message-container'));
if (this.model.isOutgoing()) {
this.conversation.contactCollection.each(this.renderContact.bind(this));
this.conversation.contactCollection.reject(function(c) {
return c.id === textsecure.storage.user.getNumber();
}).each(this.renderContact.bind(this));
} else {
this.renderContact(
this.conversation.contactCollection.get(this.model.get('source'))