I was logged out of SE.
I joined a room say [this](https://chat.stackexchange.com/rooms/13752/mathjax?).
I clicked "logged in" and it redirected me to meta login page.
And after submitting the credentials there, it redirected me back to that room (with some numbers in the URL `https://chat.stackexchange.com/rooms/13752/mathjax?_=1304610XXX`
I turned on desktop mode and then it redirected me to Meta.SE homepage.
Is this intentional or a bug?