Default avatar support

Fixes #264

Implement the equivalent of java's String.hashCode on the conversation model.
Change avatar template and attributes. Use css classes for colors.
This commit is contained in:
lilia
2015-06-18 17:05:00 -07:00
parent ada8f77930
commit e26b9bfbc7
9 changed files with 120 additions and 11 deletions

View File

@@ -67,7 +67,7 @@
render_attributes: function() {
return {
name: this.model.getTitle(),
avatar_url: this.model.getAvatarUrl()
avatar: {url: this.model.getAvatar()}
};
},
send: function() {