Track groups I've left

// FREEBIE
This commit is contained in:
lilia 2016-02-11 14:12:09 -08:00
parent 83b25c0bfa
commit 010297f4c5
5 changed files with 54 additions and 40 deletions

View file

@ -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,