Add avatars to conversation headers
So as not to look repetitive, hide the per-message avatars in one-on-one conversations. // FREEBIE
This commit is contained in:
parent
86d5ac7ef9
commit
f860278b89
5 changed files with 21 additions and 4 deletions
|
@ -17,7 +17,8 @@
|
|||
render_attributes: function() {
|
||||
return {
|
||||
group: this.model.get('type') === 'group',
|
||||
title: this.model.getTitle()
|
||||
title: this.model.getTitle(),
|
||||
avatar: this.model.getAvatar()
|
||||
};
|
||||
},
|
||||
initialize: function(options) {
|
||||
|
@ -246,7 +247,7 @@
|
|||
$discussionContainer.outerHeight(
|
||||
this.$el.outerHeight() -
|
||||
$bottomBarNewHeight -
|
||||
$conversationHeader.outerHeight() - 20);
|
||||
$conversationHeader.outerHeight() - 40);
|
||||
|
||||
this.view.scrollToBottomIfNeeded();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue