From 901a59a01b68d7537752e19e2679f2da2680792e Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Wed, 12 Dec 2018 07:37:12 -0500 Subject: [PATCH] MM-13420 Always show the Unreads section in the channel list (#2451) --- app/components/sidebars/main/channels_list/list/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/sidebars/main/channels_list/list/index.js b/app/components/sidebars/main/channels_list/list/index.js index 0a9eabe09..a3b3aa56e 100644 --- a/app/components/sidebars/main/channels_list/list/index.js +++ b/app/components/sidebars/main/channels_list/list/index.js @@ -45,7 +45,7 @@ function mapStateToProps(state) { null, sidebarPrefs.grouping, sidebarPrefs.sorting, - sidebarPrefs.unreads_at_top === 'true', + true, // The mobile app should always display the Unreads section regardless of user settings (MM-13420) sidebarPrefs.favorite_at_top === 'true' && favoriteChannelIds.length, ));