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

Avoid being stuck in a space #5891

Merged
merged 2 commits into from
Apr 20, 2021

Conversation

SimonBrandner
Copy link
Contributor

@SimonBrandner SimonBrandner commented Apr 20, 2021

Fixes #17017

This problem is caused by the fact that when switching to a space home, we first view that room and only after that we switch to that space. This causes us to save the space home to be the last viewed room in the home space. Which causes the bug.

Originally, this would also happen at startup but that seems to have been fixed

This reverts commit 08c0f0a.

Signed-off-by: Šimon Brandner <[email protected]>
Signed-off-by: Šimon Brandner <[email protected]>
Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the proper fix for the long term might be more caveated, but this is more than adequate for now, thanks!

@t3chguy t3chguy merged commit eba0fbf into matrix-org:develop Apr 20, 2021
@SimonBrandner SimonBrandner deleted the fix/context-switching branch April 20, 2021 14:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

develop.element.io with Spaces enabled switching rooms and spaces on its own
2 participants