mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Clear conversation list when the conversations collection resets
This commit is contained in:
committed by
Scott Nonnenberg
parent
c760fe29ac
commit
b01b939d15
@@ -15,6 +15,9 @@
|
||||
this.on('change:timestamp change:name change:number', this.sort);
|
||||
|
||||
this.listenTo(conversations, 'add change:active_at', this.addActive);
|
||||
this.listenTo(conversations, 'reset', function() {
|
||||
this.reset([]);
|
||||
});
|
||||
|
||||
this.on('add remove change:unreadCount',
|
||||
_.debounce(this.updateUnreadCount.bind(this), 1000)
|
||||
|
||||
Reference in New Issue
Block a user