mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Remove inactive models from inbox collection
Fixes auto archive when deleting all messages, and auto unarchive when sending a new message. Previously, the convo would not reappear in the inbox after deleting all messages. // FREEBIE
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
addActive: function(model) {
|
||||
if (model.get('active_at')) {
|
||||
this.add(model);
|
||||
} else {
|
||||
this.remove(model);
|
||||
}
|
||||
},
|
||||
updateUnreadCount: function(model, count) {
|
||||
|
||||
Reference in New Issue
Block a user