Sort conversations by active_at
This commit is contained in:
parent
65e107fba5
commit
e37c6e68ec
1 changed files with 1 additions and 1 deletions
|
@ -5472,7 +5472,7 @@ window.Whisper.ConversationCollection = window.Backbone.Collection.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
comparator(m: WhatIsThis) {
|
comparator(m: WhatIsThis) {
|
||||||
return -m.get('timestamp');
|
return -(m.get('active_at') || 0);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue