The Desktop App was always reloading the base URL when hitting Cmd/Ctrl+R, which would usually work when the current channel was the one you were on, but would sometimes navigate you elsewhere. This could be observed when reloading on the Threads view.
This PR changes the behaviour to reload the current URL when available, so that we try to stay on the same page.
Summary
The Desktop App was always reloading the base URL when hitting
Cmd/Ctrl+R
, which would usually work when the current channel was the one you were on, but would sometimes navigate you elsewhere. This could be observed when reloading on the Threads view.This PR changes the behaviour to reload the current URL when available, so that we try to stay on the same page.
Ticket Link
https://mattermost.atlassian.net/browse/MM-58593