mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #900 from vector-im/dbkr/parse_queries_in_hash
Always parse the hash of a URL as we do elsewhere
This commit is contained in:
commit
98551c3f9a
@ -94,7 +94,8 @@ function routeUrl(location) {
|
||||
else if (location.hash.indexOf('#/register') == 0) {
|
||||
window.matrixChat.showScreen('register', parseQsFromFragment(location));
|
||||
} else {
|
||||
window.matrixChat.showScreen(location.hash.substring(2));
|
||||
var hashparts = location.hash.split('?');
|
||||
window.matrixChat.showScreen(hashparts[0].substring(2));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user