From 5238cd74d63f5b1f3abd4332d66de3d802ef7086 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 f31d6c5fe6..491f1d8ae1 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() }));