Don't show myself in the message detail contacts list
// FREEBIE
This commit is contained in:
parent
87d4f0d5d8
commit
b1c933ccd4
1 changed files with 3 additions and 1 deletions
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue