mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Don't show myself in the message detail contacts list
// FREEBIE
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user