Skip to content

Conversation

@richvdh
Copy link
Member

@richvdh richvdh commented Nov 21, 2025

Ensure that we call tryPersistStorage during a login flow. Fixes #31298.

Also some refactoring. Review commit-by-commit.

Based on #31293 and #31297.

There is a whole bunch of code dedicated to attempting to force a "light" theme
onto the login view, even if the deployment is configured to prioritise the
dark theme.

Apparently this was done because, in the old days, the
login view looked rubbish with the dark theme, but now it looks fine.

Fixes #31292
I think this needs to happen whether or not we are in the middle of a login
flow.

Fixes: #31298
It's now a one-liner, and its semantics are very confusing.
Now that we've got rid of the confusing `onLoggedIn` method, we can factor out
a method which *actually* handles `OnLoggedIn` actions.
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

lgtm as long as the login dark theme stuff is okay

Base automatically changed from rav/MatrixChat_documentation to develop November 21, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No prompt for "Allow <domain> to store data in persistent storage" on new login

3 participants