Track groups I've left
// FREEBIE
This commit is contained in:
parent
83b25c0bfa
commit
010297f4c5
5 changed files with 54 additions and 40 deletions
|
@ -164,6 +164,7 @@
|
|||
leaveGroup: function() {
|
||||
var now = Date.now();
|
||||
if (this.get('type') === 'group') {
|
||||
this.save({left: true});
|
||||
var message = this.messageCollection.create({
|
||||
group_update: { left: 'You' },
|
||||
conversationId : this.id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue