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

Fix a bug that corrupted the cache of federated space hierarchies #11775

Merged
merged 3 commits into from
Jan 20, 2022

Commits on Jan 19, 2022

  1. Fix a bug that corrupted the cache of federated space hierarchies

    `FederationClient.get_room_hierarchy()` caches its return values, so
    avoid modifying the returned room summary and clone it instead.
    Sean Quah committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    53541af View commit details
    Browse the repository at this point in the history
  2. Split out "children_state" from get_room_hierarchy to avoid clone o…

    …f room summary
    Sean Quah committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    72ee63a View commit details
    Browse the repository at this point in the history
  3. Add test for caching of federation /hierarchy

    Sean Quah committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    508ebd8 View commit details
    Browse the repository at this point in the history