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

Improve room list performance when receiving messages #1801

Merged
merged 2 commits into from
Mar 15, 2018

Commits on Mar 14, 2018

  1. Improve room list performance when receiving messages

    In summary this makes RoomTiles (and RoomAvatars) do more for
    themselves in terms of reacting individually to state changes in
    the js-sdk.
    
    Instead of force updating the entire room list for avatar changes
    and room name changes, do this in the RoomTile and RoomAvatar
    instead. This increases the number of listeners listening to the
    matrix client, but allows us to properly implement a
    shouldComponentUpdate for RoomTile (because the avatar, name and
    notification count are now in component state)
    lukebarnard1 committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    8672b97 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    lukebarnard1 committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    c903cc6 View commit details
    Browse the repository at this point in the history