-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
[FIX] Fix room load on first hit #7687
Conversation
if ((currentUsername === undefined) && ((user != null ? user.username : undefined) != null)) { | ||
currentUsername = user.username; | ||
RoomManager.closeAllRooms(); | ||
FlowRouter.reload(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is a reload going to preserve / load the page?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know exactly why this code was there.. I only changed the the "function name" not the functionality.
I think this is done because not all places are reactive to user log in, so it need to reload the current route in order to get everything set up.
[FIX] Fix room load on first hit
Is this bug fix ? I have the last version of rocket chat and we still have this bug ... |
When is this supposed to be in the official release ? Which version ? |
it should be in 0.58.0 |
@RocketChat/core
Some times when you first hit on a room URL (like https://demo.rocket.chat/channel/general) the room does not load due some kind of race condition.