MessageView.updateColor: Call getAvatar on convo, not message
FREEBIE
This commit is contained in:
parent
71036e31ab
commit
e3bada1f4a
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@
|
||||||
}
|
}
|
||||||
this.avatarView = new (Whisper.View.extend({
|
this.avatarView = new (Whisper.View.extend({
|
||||||
templateName: 'avatar',
|
templateName: 'avatar',
|
||||||
render_attributes: { avatar: this.model.getAvatar() }
|
render_attributes: { avatar: this.contact.getAvatar() }
|
||||||
}))();
|
}))();
|
||||||
this.$('.avatar').replaceWith(this.avatarView.render().$('.avatar'));
|
this.$('.avatar').replaceWith(this.avatarView.render().$('.avatar'));
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue