Change default value for active_at
We're overriding the default with null often enough that we should just change the default. Consequently, no more phantom blank conversations with oneself should appear after receiving a group update. They were being added to the inbox because they were incorrectly initialized with an active_at value. Fixes #281
This commit is contained in:
parent
809c9bdb57
commit
853b578551
4 changed files with 2 additions and 7 deletions
|
@ -27,7 +27,6 @@
|
|||
return {
|
||||
unreadCount : 0,
|
||||
timestamp : timestamp,
|
||||
active_at : timestamp
|
||||
};
|
||||
},
|
||||
|
||||
|
@ -180,7 +179,7 @@
|
|||
},
|
||||
|
||||
archive: function() {
|
||||
this.unset('active_at');
|
||||
this.set({active_at: null});
|
||||
},
|
||||
|
||||
destroyMessages: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue