Ensure that expired messages are removed from the frontend
This commit is contained in:
parent
02ea4f2475
commit
1383dc141f
4 changed files with 24 additions and 3 deletions
|
@ -76,6 +76,9 @@
|
|||
get: function(id) {
|
||||
return conversations.get(id);
|
||||
},
|
||||
add: function(attrs) {
|
||||
return conversations.add(attrs, {merge: true});
|
||||
},
|
||||
create: function(attrs) {
|
||||
if (typeof attrs !== 'object') {
|
||||
throw new Error('ConversationController.create requires an object, got', attrs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue