From e4faa73b6888a127884d0fd8d6d8ac1960db9190 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Tue, 16 Oct 2018 17:28:04 -0300 Subject: [PATCH] [FIX] Unread rooms group order (#487) --- app/views/RoomsListView/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/RoomsListView/index.js b/app/views/RoomsListView/index.js index f31d6c5fe..491f1d8ae 100644 --- a/app/views/RoomsListView/index.js +++ b/app/views/RoomsListView/index.js @@ -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() }));