Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix bug where room list would get stuck showing no rooms #6939

Merged
merged 2 commits into from
Oct 13, 2021

Commits on Oct 13, 2021

  1. Fix bug where room list would get stuck showing no rooms

    If you had an unsent message in a room that was in a sublist with
    the 'Show rooms with unread messages first' option enabled, the
    room list would show no rooms next time you restarted element and
    get stuck that way.
    
    This was because there was a different notification category for
    rooms with unsent messages but the algorithm is hard-coded to add
    only a fixed set of categories to its list, and it missed 'unsent',
    so it NPEed when it encountered a room with an unsent message.
    
    This just adds the category (assuming that we want to show rooms
    with unsent messages first). It doesn't make it less hard-coded, or
    fix the fact that an exception in the room list code causes everything
    to break.
    
    Fixes element-hq/element-web#19373
    dbkr committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    0332bc9 View commit details
    Browse the repository at this point in the history
  2. Typo

    dbkr committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    c2ed27a View commit details
    Browse the repository at this point in the history