Sort conversations by active_at

This commit is contained in:
Fedor Indutny 2022-02-04 11:01:09 -08:00 committed by GitHub
parent 65e107fba5
commit e37c6e68ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5472,7 +5472,7 @@ window.Whisper.ConversationCollection = window.Backbone.Collection.extend({
},
comparator(m: WhatIsThis) {
return -m.get('timestamp');
return -(m.get('active_at') || 0);
},
});