Make chat window titles match contact list
This commit is contained in:
parent
1a553fef17
commit
bd86546cea
3 changed files with 7 additions and 2 deletions
|
@ -118,6 +118,10 @@
|
|||
_.each(models, function(message) { message.destroy(); });
|
||||
this.archive();
|
||||
return this.save();
|
||||
},
|
||||
|
||||
getTitle: function() {
|
||||
return this.get('name') || this.get('members') || this.id;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue