mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 03:18:17 +01:00
Ensure that expired messages are removed from the frontend
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user