Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening the last opened room at start #816

Merged
merged 6 commits into from
Jul 29, 2022

Conversation

Kaki-In
Copy link
Contributor

@Kaki-In Kaki-In commented Jul 26, 2022

The session now directly opens at the last opened room when openening the Hydrogen page.


Should fix this issue (#435)

The last session url is now remembered for being restored at the beginning of the session. Thanks for the help of @bwindels
@bwindels
Copy link
Contributor

Fixes #435

Copy link
Contributor

@bwindels bwindels left a comment

Choose a reason for hiding this comment

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

Thanks, just a few details to fix.

src/matrix/common.js Outdated Show resolved Hide resolved
src/platform/web/dom/History.js Show resolved Hide resolved
Added the _lastSessionHash attribute inside the History constructor
Copy link
Contributor

@bwindels bwindels left a comment

Choose a reason for hiding this comment

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

Looks good, happy to have this finally fixed!

@bwindels bwindels merged commit 0211610 into element-hq:master Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Last location is not restored when opening the app
2 participants