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

Don't even try to restore last url when in single room mode #196

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

ashfame
Copy link
Member

@ashfame ashfame commented Mar 6, 2023

Disable functionality of "restoring last known url" when Chatrix is initialised, atleast for single room mode. This results in always going to the room upon load (when in single room mode) if you have just one session and always on session screen when you have multiple sessions.

Also switches the singleRoomMode getter to rely on whether the single room ID is configured as opposed to if we were able to resolve it or not. This fixes #194

@ashfame ashfame requested a review from psrpinto March 6, 2023 18:59
@ashfame ashfame self-assigned this Mar 6, 2023
@ashfame ashfame merged commit 736e952 into main Mar 7, 2023
@ashfame ashfame deleted the navigation_fix branch March 7, 2023 11:26
@ashfame ashfame mentioned this pull request Mar 16, 2023
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.

Single room mode should completely hide left panel column
2 participants