[FIX] Unread rooms group order (#487)
This commit is contained in:
parent
7dfd57b20c
commit
e4faa73b68
|
@ -224,7 +224,7 @@ export default class RoomsListView extends LoggedView {
|
|||
|
||||
// unread
|
||||
if (showUnread) {
|
||||
this.unread = this.data.filtered('archived != true && open == true').sorted('name', false).filtered('(unread > 0 || alert == true)');
|
||||
this.unread = this.data.filtered('archived != true && open == true').filtered('(unread > 0 || alert == true)');
|
||||
unread = this.unread.slice();
|
||||
setTimeout(() => {
|
||||
this.unread.addListener(() => this.setState({ unread: this.unread.slice() }));
|
||||
|
|
Loading…
Reference in New Issue