message: [FIX] Rooms grouping not working properly
diff: @@ -67,6 +67,9 @@ const CHANNELS_HEADER = 'Channels';
  const DM_HEADER = 'Direct_Messages';
  const GROUPS_HEADER = 'Private_Groups';
  +const filterIsUnread = s => (s.unread > 0 || s.alert) && !s.hideUnreadStatus;
  +const filterIsFavorite = s => s.f;
  +
  const shouldUpdateProps = [
  'searchText',
  'loadingServer',
  @@ -404,13 +407,15 @@ class RoomsListView extends React.Component {
  // unread
  if (showUnread) {
  - const unread = chats.filter(s => (s.unread > 0 || s.alert) && !s.hideUnreadStatus);
  + const unread = chats.filter(s => filterIsUnread(s));
  + chats = chats.filter(s => !filterIsUnread(s));
  tempChats = this.addRoomsGroup(unread, UNREAD_HEADER, tempChats);
  }
  // favorites
  if (showFavorites) {
  - const favorites = chats.filter(s => s.f);
  + const favorites = chats.filter(s => filterIsFavorite(s));
  + chats = chats.filter(s => !filterIsFavorite(s));
  tempChats = this.addRoomsGroup(favorites, FAVORITES_HEADER, tempChats);
  }
  @@ -424,11 +429,7 @@ class RoomsListView extends React.Component {
  tempChats = this.addRoomsGroup(channels, CHANNELS_HEADER, tempChats);
  tempChats = this.addRoomsGroup(privateGroup, GROUPS_HEADER, tempChats);
  tempChats = this.addRoomsGroup(direct, DM_HEADER, tempChats);
  - } else if (showUnread) {
  - chats = chats.filter(s => (!s.unread && !s.alert) || s.hideUnreadStatus);
  - tempChats = this.addRoomsGroup(chats, CHATS_HEADER, tempChats);
  - } else if (showFavorites) {
  - chats = chats.filter(s => !s.f);
  + } else if (showUnread || showFavorites) {
  tempChats = this.addRoomsGroup(chats, CHATS_HEADER, tempChats);
  } else {
  tempChats = chats;
  